diff --git a/.eslintrc b/.eslintrc index 2de89c8835..8f8b960106 100755 --- a/.eslintrc +++ b/.eslintrc @@ -18,15 +18,6 @@ "html" ], "rules": { - "no-console": [ - "warn", - { - "allow": [ - "warn", - "error" - ] - } - ], "no-bitwise": [ 0 ], @@ -42,7 +33,7 @@ 0 ], "indent": ["error", 2, { - "ignoredNodes": ["TemplateLiteral"] - }] + "ignoredNodes": ["TemplateLiteral"] + }] } } diff --git a/package.json b/package.json index 685048d0bf..ba53ec9f47 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "@types/storybook__react": "^4.0.2", "@types/supercluster": "^5.0.1", "awesome-typescript-loader": "^5.2.1", + "babel-eslint": "8.2.5", "babel-jest": "^24.9.0", "babel-loader": "^8.0.6", "babel-plugin-const-enum": "^0.0.2", diff --git a/yarn.lock b/yarn.lock index 5312d57f88..c7227f1b3e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6537,6 +6537,18 @@ babel-eslint@10.1.0, babel-eslint@^10.1.0: eslint-visitor-keys "^1.0.0" resolve "^1.12.0" +babel-eslint@8.2.5: + version "8.2.5" + resolved "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.5.tgz#dc2331c259d36782aa189da510c43dedd5adc7a3" + integrity sha512-TcdEGCHHquOPQOlH6Fe6MLwPWWWJLdeKhcGoLfOTShETpoH8XYWhjWJw38KCKaTca7c/EdxLolnbakixKxnXDg== + dependencies: + "@babel/code-frame" "7.0.0-beta.44" + "@babel/traverse" "7.0.0-beta.44" + "@babel/types" "7.0.0-beta.44" + babylon "7.0.0-beta.44" + eslint-scope "~3.7.1" + eslint-visitor-keys "^1.0.0" + babel-eslint@^8.2.6: version "8.2.6" resolved "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.6.tgz#6270d0c73205628067c0f7ae1693a9e797acefd9" @@ -11101,6 +11113,14 @@ eslint-scope@^5.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@~3.7.1: + version "3.7.3" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz#bb507200d3d17f60247636160b4826284b108535" + integrity sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + eslint-utils@^1.4.3: version "1.4.3" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f"