From 4484d8f7dc0fc9834db637ae7cc6e47a852f727b Mon Sep 17 00:00:00 2001 From: Kevin Ji Date: Thu, 4 Apr 2019 00:13:22 -0400 Subject: [PATCH] eslint: Mark as root config --- .eslintrc.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 84d634b03..778635bfb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,5 @@ module.exports = { + "root": true, "extends": "airbnb", "plugins": [], "rules": { @@ -7,11 +8,11 @@ module.exports = { // doesn't work in node v4 :( "strict": "off", "prefer-rest-params": "off", - "react/require-extension" : "off", - "import/no-extraneous-dependencies" : "off" + "react/require-extension": "off", + "import/no-extraneous-dependencies": "off" }, "env": { - "mocha": true, - "jest": true - } + "mocha": true, + "jest": true + } };