Skip to content

Commit

Permalink
Merge pull request #19 from fingerprintjs/feature/config
Browse files Browse the repository at this point in the history
build: eslint ignore dist folder, lint js files
  • Loading branch information
necipallef authored Apr 18, 2023
2 parents a03b59c + 1b49051 commit 78a7ee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
},
},
plugins: ['@typescript-eslint', 'prettier'],
ignorePatterns: ['build/*'],
ignorePatterns: ['dist/*'],
rules: {
semi: ['error', 'never'],
'linebreak-style': ['error', 'unix'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dist"
],
"lint-staged": {
"*.ts": "yarn run lint:fix"
"*.{js,ts}": "yarn run lint:fix"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 78a7ee6

Please sign in to comment.