|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "env": { |
| 4 | + "browser": true, |
| 5 | + "es2021": true |
| 6 | + }, |
| 7 | + "extends": [ |
| 8 | + "eslint:recommended", |
| 9 | + "plugin:eslint-plugin/recommended", |
| 10 | + "plugin:import/recommended" |
| 11 | + ], |
| 12 | + "globals": { |
| 13 | + "Atomics": "readonly", |
| 14 | + "SharedArrayBuffer": "readonly" |
| 15 | + }, |
| 16 | + "parserOptions": { |
| 17 | + "ecmaVersion": 12, |
| 18 | + "sourceType": "module" |
| 19 | + }, |
| 20 | + "plugins": [ |
| 21 | + "eslint-plugin", |
| 22 | + "import" |
| 23 | + ], |
| 24 | + "extends": [ |
| 25 | + "eslint:recommended", |
| 26 | + "plugin:eslint-plugin/recommended", |
| 27 | + "plugin:import/recommended" |
| 28 | + ], |
| 29 | + "rules": { |
| 30 | + "comma-style": [1, "last"], |
| 31 | + "curly": [1, "multi-line"], |
| 32 | + "eol-last": [1, "always"], |
| 33 | + "eqeqeq": [1, "allow-null"], |
| 34 | + "func-call-spacing": 1, |
| 35 | + "no-unused-vars": 1, |
| 36 | + "indent": ["warn", "tab"], |
| 37 | + "max-len": [1, 99, 2], |
| 38 | + "no-cond-assign": [1, "always"], |
| 39 | + "no-return-assign": [1, "always"], |
| 40 | + "no-shadow": 1, |
| 41 | + "no-var": 1, |
| 42 | + "object-curly-spacing": [1, "always"], |
| 43 | + "one-var": [1, "never"], |
| 44 | + "prefer-const": 2, |
| 45 | + "quotes": [1, "double", { |
| 46 | + "allowTemplateLiterals": true, |
| 47 | + "avoidEscape": true |
| 48 | + }], |
| 49 | + "semi": [1, "never"], |
| 50 | + "eslint-plugin/consistent-output": [ |
| 51 | + "warn", |
| 52 | + "always" |
| 53 | + ], |
| 54 | + "eslint-plugin/meta-property-ordering": "warn", |
| 55 | + "eslint-plugin/no-deprecated-context-methods": "warn", |
| 56 | + "eslint-plugin/no-deprecated-report-api": "off", |
| 57 | + "eslint-plugin/prefer-replace-text": "warn", |
| 58 | + "eslint-plugin/report-message-format": "warn", |
| 59 | + "eslint-plugin/require-meta-schema": "warn", |
| 60 | + "eslint-plugin/require-meta-type": "warn", |
| 61 | + "import/no-extraneous-dependencies": "warn", |
| 62 | + "import/unambiguous": "off" |
| 63 | + } |
| 64 | +} |
0 commit comments