Skip to content

Commit

Permalink
package.json: install and use eslint (new-xkit#2011)
Browse files Browse the repository at this point in the history
also simplifies .eslintignore
  • Loading branch information
AprilSylph authored Nov 20, 2020
1 parent fb9c75c commit 564118f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 125 deletions.
10 changes: 1 addition & 9 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
**/jquery.js
**/lodash.min.js
**/nano.js
**/moment.js
**/tiptip.js
vendor/
*.icon.js

node_modules
build
Extensions/dist/page
150 changes: 35 additions & 115 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
},
"scripts": {
"dev": "gulp server",
"test": "gulp lint:scripts",
"test": "eslint .",
"lint": "web-ext lint",
"build": "web-ext build",
"sign": "web-ext sign"
},
"devDependencies": {
"connect": "^3.7.0",
"del": "^1.2.1",
"eslint": "^3.19.0",
"gulp": "^4.0.2",
"gulp-cached": "^1.1.1",
"gulp-eslint": "^3.0.1",
Expand Down

0 comments on commit 564118f

Please sign in to comment.