diff --git a/.eslintignore b/.eslintignore index a05bd28f..a435bfcc 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,3 @@ -public/upload.js -public/download.js -public/webcrypto-shim.js +public test/frontend/bundle.js firefox diff --git a/package.json b/package.json index 1031d4f2..681bdc8d 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "build:version": "node scripts/version", "build:l10n": "cp node_modules/l20n/dist/web/l20n.min.js public", "dev": "npm run build && npm start", - "format": "prettier '{frontend/src/,scripts/,server/,test/}*.js' 'public/*.css' --single-quote --write", + "format": "prettier '{frontend/src/,scripts/,server/,test/**/}*.js' 'public/*.css' --single-quote --write", "lint": "npm-run-all lint:*", "lint:css": "stylelint 'public/*.css'", "lint:js": "eslint .", diff --git a/test/.eslintrc.yml b/test/.eslintrc.yml index b65502fd..dd9f4ba4 100644 --- a/test/.eslintrc.yml +++ b/test/.eslintrc.yml @@ -19,3 +19,5 @@ rules: mocha/no-pending-tests: error mocha/no-return-and-callback: warn mocha/no-skipped-tests: error + + no-console: off # ¯\_(ツ)_/¯