Stop ESLint from linting the /public/ directory

This commit is contained in:
Peter deHaan 2017-07-22 23:26:42 -07:00
parent b557665d04
commit 70396e2f36
No known key found for this signature in database
GPG Key ID: F0FC6C01C6305097
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,3 @@
public/upload.js
public/download.js
public/webcrypto-shim.js
public
test/frontend/bundle.js
firefox

View File

@ -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 .",