From 70396e2f36e88555ab6abca24e7c31c629863e4e Mon Sep 17 00:00:00 2001 From: Peter deHaan Date: Sat, 22 Jul 2017 23:26:42 -0700 Subject: [PATCH] Stop ESLint from linting the /public/ directory --- .eslintignore | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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 .",