diff --git a/examples/.eslintrc b/examples/.eslintrc.json similarity index 100% rename from examples/.eslintrc rename to examples/.eslintrc.json diff --git a/getting-started/.eslintrc b/getting-started/.eslintrc deleted file mode 100644 index 6b385b62156..00000000000 --- a/getting-started/.eslintrc +++ /dev/null @@ -1,16 +0,0 @@ -{ - "env": { - "node": true - }, - "extends": "airbnb-base", - "parserOptions": { - "sourceType": "script" - }, - "rules": { - "no-use-before-define": ["error", "nofunc"], - "no-console": "off", - "import/no-unresolved": "off", - "no-unused-vars": ["error"], - "strict": ["error", "global"] - } -} diff --git a/getting-started/.eslintrc.js b/getting-started/.eslintrc.js new file mode 100644 index 00000000000..8580fbfb045 --- /dev/null +++ b/getting-started/.eslintrc.js @@ -0,0 +1,6 @@ +/* eslint-disable global-require */ +/* eslint-disable strict */ + +module.exports = { + ...require('../examples/.eslintrc.json'), +};