Skip to content

Commit

Permalink
Update linting setup
Browse files Browse the repository at this point in the history
* Update eslint to 7.x
* Move from `lint:js` to `lint`
* Use `npm-run-all` instead of `&&` in scripts
  • Loading branch information
rwjblue committed Oct 26, 2020
1 parent 015671d commit 207a812
Show file tree
Hide file tree
Showing 2 changed files with 423 additions and 124 deletions.
10 changes: 6 additions & 4 deletions package.json
Expand Up @@ -19,8 +19,9 @@
"author": "Tom Dale <tom@tomdale.net>",
"main": "src/fastboot-app-server.js",
"scripts": {
"lint:js": "eslint --cache .",
"test": "yarn lint:js && NODE_ENV=test mocha"
"lint": "eslint --cache .",
"test": "npm-run-all lint test:*",
"test:mocha": "mocha"
},
"dependencies": {
"basic-auth": "^2.0.1",
Expand All @@ -32,10 +33,11 @@
},
"devDependencies": {
"chai": "^4.1.0",
"eslint": "^6.8.0",
"eslint-plugin-mocha": "^6.3.0",
"eslint": "^7.12.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.1.0",
"mocha": "^5.0.0",
"npm-run-all": "^4.1.5",
"release-it": "^14.2.0",
"release-it-lerna-changelog": "^3.0.0",
"request": "^2.81.0",
Expand Down

0 comments on commit 207a812

Please sign in to comment.