Skip to content

Commit

Permalink
Remove extensions rule, update lint all command to run both JS and CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Jul 8, 2021
1 parent 834251a commit 31f1257
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ module.exports = {
extends: ["eslint:recommended"],
overrides: [
{
files: ["extension/**/*.js"],
env: {
"browser": true,
"webextensions": true,
},
globals: {
areInputIconsEnabled: "writable",
enableDataOptOut: "writable",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"url": "git+https://github.com/mozilla/fx-private-relay.git"
},
"scripts": {
"lint": "npm run lint:js",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint .",
"lint:css": "stylelint --fix static/scss/",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 31f1257

Please sign in to comment.