{ "env": { "browser": true, "commonjs": true, "es6": true, "amd": true }, "extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:jest-dom/recommended"], "parser": "babel-eslint", "overrides": [ { "files": ["**/*.svelte"], "processor": "svelte3/svelte3" }, { "files": ["*.test.js", "**/__mocks__/**.js"], "env": { "jest": true }, "globals": { "spyOn": true, "process": true, "prettyDOM": true, "__dirname": true }, "plugins": ["jest"], "rules": { "jest/no-disabled-tests": "warn", "jest/no-focused-tests": "error", "jest/no-identical-title": "error", "jest/prefer-to-have-length": "warn", "jest/valid-expect": "off" } }, { "files": [".storybook", "jest.config.js", "rollup.*.js", "babel.*.js"], "env": { "node": true } } ], "parserOptions": { "ecmaVersion": 2018, "ecmaFeatures": { "experimentalObjectRestSpread": true, "modules": true, "allowImportExportEverywhere": true }, "sourceType": "module" }, "plugins": ["prettier", "svelte3", "jest-dom"], "globals": { "__webpack_public_path__": true, "$": true, "Panes": true, "editor": true, "CodeEditor": true, "aceSessions": true, "fileHistory": true, "tree": true, "editors": true, "selectedNode": true, "expect": true, "ga": true, "ace":true }, "rules": { "prettier/prettier": [ "error", { "printWidth": 120, "useTabs": false } ], "require-atomic-updates": 0, "indent": ["off", "tab"], "linebreak-style": ["off"], "no-set-state": "off", "no-unused-vars": [ "error", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true, "varsIgnorePattern": "__webpack_public_path__|process|prettyDOM|jest" } ], // "no-console": ["off"], "optionalChaining": 0, "no-debugger": "warn", } }