Skip to content

Commit

Permalink
chore: fix eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ymmooot committed Jul 3, 2019
1 parent 4dc8892 commit 5a49702
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
yarn-error.log
build
lib/
.eslintcache
examples
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
root: true,
env: {
browser: true,
node: true
node: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
Expand Down Expand Up @@ -37,7 +37,7 @@ module.exports = {
},
overrides: [
{
files: ['./test/**/*.spec.*'],
files: ['test/**/**.spec.*'],
env: {
jest: true,
},
Expand Down
3 changes: 3 additions & 0 deletions changelog.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
disableEmoji: true,
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"build": "tsc -p .",
"preversion": "npm run build",
"release": "semantic-release",
"lint": "eslint --ext .ts,.js src",
"lint:fix": "eslint --ext .ts,.js --fix src"
"lint": "eslint --ext .ts,.js .",
"lint:fix": "eslint --ext .ts,.js --fix ."
},
"files": [
"lib"
Expand Down

0 comments on commit 5a49702

Please sign in to comment.