module.exports = { "extends": "airbnb", "parser": "babel-eslint", "plugins": [ "react", ], "rules": { "import/newline-after-import": [2, { "count": 2 }], "arrow-body-style": "off", "arrow-parens": "off", "import/extensions": "off", "import/no-extraneous-dependencies": "off", "import/no-named-as-default": "off", "import/no-unresolved": "off", "import/prefer-default-export": "off", "no-param-reassign": "off", "no-underscore-dangle": "off", "react/forbid-prop-types": "off", "react/require-default-props": "off", "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "jsx-a11y/no-static-element-interactions": "off", "jsx-a11y/href-no-hash": "off", "jsx-a11y/label-has-for": "off", "jsx-a11y/no-autofocus": "off", "jsx-a11y/no-noninteractive-element-interactions": "off", "semi": ["error", "never"], }, // Currently ESLint does not allow to have glob-specific settings (i.e. // settings that apply to specific files only), hence the use of this setting "globals": { // General rules "React": true, "document": true, "window": true, // Rules for tests (**.spec.js) "mount": true, "render": true, "shallow": true, "afterAll": true, "afterEach": true, "beforeAll": true, "beforeEach": true, "describe": true, "expect": true, "fail": true, "fdescribe": true, "fit": true, "it": true, "pending": true, "spyOn": true, "spyOnProperty": true, "xdescribe": true, "xit": true, } };