diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000000..096662151e --- /dev/null +++ b/.eslintignore @@ -0,0 +1,9 @@ +jest.*.js +webpack.*.js + +etc +coverage +build +node_modules +dist +images \ No newline at end of file diff --git a/package.json b/package.json index 576db22326..acac0622dc 100644 --- a/package.json +++ b/package.json @@ -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"