Skip to content

Commit

Permalink
run eslint from root
Browse files Browse the repository at this point in the history
  • Loading branch information
no-chris committed Jan 13, 2022
1 parent ab16682 commit 181610c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage
lib
node_modules
build
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,11 @@
"bugs": {
"url": "https://github.com/no-chris/chords-charts-studio/issues"
},
"dependencies": {}
"scripts": {
"build": "npm run lint && npm run format && npm run test && lerna run build",
"lint": "eslint packages",
"format": "prettier --write \"**/*.{js,jsx,json,ts,md,scss,css}\"",
"test": "jest",
"up": "yarn upgrade && lerna exec yarn upgrade"
}
}
3 changes: 3 additions & 0 deletions packages/webextension/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ module.exports = {
env: {
webextensions: true,
},
rules: {
'react/prop-types': ['off'],
},
};

0 comments on commit 181610c

Please sign in to comment.