1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00

Merge pull request #281 from pdehaan/deLint

Stop ESLint from linting the /public/ directory
This commit is contained in:
Danny Coates 2017-07-23 12:42:53 -07:00 committed by GitHub
commit d6823f492d
3 changed files with 4 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 .",

View File

@ -19,3 +19,5 @@ rules:
mocha/no-pending-tests: error
mocha/no-return-and-callback: warn
mocha/no-skipped-tests: error
no-console: off # ¯\_(ツ)_/¯