From f37bdba64575d79ccd950c0cc5e5a28b56292894 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Thu, 24 Jan 2019 11:36:18 -0500 Subject: [PATCH] update eslint config and add eslint ignore --- .eslintignore | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .eslintignore 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"