{ "extends": ["airbnb", "plugin:prettier/recommended"], "env": { "jest": true, "browser": true }, "plugins": ["prettier"], "rules": { "react/prop-types": "off", "prefer-destructuring": ["error", { "object": true, "array": false }], "class-methods-use-this": "off", "no-underscore-dangle": "off", "no-unreachable": "off", "no-plusplus": [ "error", { "allowForLoopAfterthoughts": true } ], "import/no-extraneous-dependencies": [ "error", { "devDependencies": true } ] }, "globals": { "window": "writable", "document": "readonly", "print": "readonly", "jest": "readonly", "test": "readonly", "describe": "readonly", "beforeEach": "readonly", "expect": "readonly", "CustomEvent": "readonly", "Datastore": "readonly" }, "settings": { // Resolve the webpack aliases when running ESLint checks "import/resolver": { "webpack": { "config": "./webpack/webpack.prod.js" } }, "react": { "version": "detect" } }, "parser": "@babel/eslint-parser" }