diff --git a/.eslintrc.js b/.eslintrc.js index 2bc881ad79..fc2ab33086 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,11 +8,6 @@ module.exports = { extends: ["eslint:recommended"], overrides: [ { - files: ["extension/**/*.js"], - env: { - "browser": true, - "webextensions": true, - }, globals: { areInputIconsEnabled: "writable", enableDataOptOut: "writable", diff --git a/package.json b/package.json index 09b369c53a..f6d8d5476b 100644 --- a/package.json +++ b/package.json @@ -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"