update eslint config and add eslint ignore

This commit is contained in:
John Mitchell 2019-01-24 11:36:18 -05:00
parent 28b5d43e1f
commit f37bdba645
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94
2 changed files with 10 additions and 1 deletions

9
.eslintignore Normal file
View File

@ -0,0 +1,9 @@
jest.*.js
webpack.*.js
etc
coverage
build
node_modules
dist
images

View File

@ -6,7 +6,7 @@
"scripts": {
"start": "webpack-dev-server --config ./webpack.config.js --mode development",
"test": "jest --watch --coverage",
"lint": "./node_modules/eslint/bin/eslint.js src/**/*.js src/**/*.jsx",
"lint": "eslint --ext .js --ext .jsx . --debug",
"add-locale": "lingui add-locale",
"extract-strings": "lingui extract",
"compile-strings": "lingui compile"