|
35 | 35 | "es6": true |
36 | 36 | }, |
37 | 37 | "rules": { |
38 | | - "class-methods-use-this": 0, |
39 | | - "new-cap": 0, |
40 | | - "prefer-template": 0, |
41 | | - "object-shorthand": 0, |
42 | | - "func-names": 0, |
43 | | - "prefer-arrow-callback": 0, |
44 | | - "no-underscore-dangle": 0, |
45 | | - "strict": 0, |
46 | | - "prefer-spread": 0, |
47 | | - "no-plusplus": 0, |
48 | | - "no-bitwise": 2, |
49 | | - "comma-dangle": 0, |
50 | | - "vars-on-top": 0, |
51 | | - "no-continue": 0, |
52 | | - "no-param-reassign": 0, |
53 | | - "no-multi-assign": 0, |
54 | | - "no-console": 2, |
55 | | - "radix": 0, |
56 | | - "no-alert": 0, |
57 | | - "no-return-await": 0, |
58 | | - "no-nested-ternary": 0, |
59 | | - "prefer-destructuring": 0, |
| 38 | + "class-methods-use-this": "off", |
| 39 | + "new-cap": "off", |
| 40 | + "prefer-template": "off", |
| 41 | + "object-shorthand": "off", |
| 42 | + "func-names": "off", |
| 43 | + "no-underscore-dangle": "off", |
| 44 | + "strict": "off", |
| 45 | + "no-plusplus": "off", |
| 46 | + "no-bitwise": "error", |
| 47 | + "comma-dangle": "off", |
| 48 | + "vars-on-top": "off", |
| 49 | + "no-continue": "off", |
| 50 | + "no-param-reassign": "off", |
| 51 | + "no-multi-assign": "off", |
| 52 | + "no-console": "error", |
| 53 | + "radix": "off", |
| 54 | + "no-alert": "off", |
| 55 | + "no-nested-ternary": "off", |
| 56 | + "prefer-destructuring": "off", |
60 | 57 | "no-restricted-globals": [2, "event"], |
61 | | - "prefer-promise-reject-errors": 0, |
62 | | - "import/order": 0, |
63 | | - "import/prefer-default-export": 0, |
64 | | - "import/no-unresolved": 0, |
65 | | - "import/no-cycle": 0, |
| 58 | + "prefer-promise-reject-errors": "off", |
| 59 | + "import/prefer-default-export": "off", |
| 60 | + "import/no-default-export": "off", |
| 61 | + "import/no-unresolved": "off", |
| 62 | + "import/no-cycle": "off", |
66 | 63 | "import/extensions": [ |
67 | | - 2, |
| 64 | + "error", |
68 | 65 | "ignorePackages", |
69 | 66 | { "ts": "never", "js": "never" } |
70 | 67 | ], |
71 | 68 | "no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"], |
72 | | - "object-curly-newline": 0, |
73 | | - "default-case": 0, |
74 | | - "wc/no-self-class": 0, |
75 | | - "no-shadow": 0, |
76 | | - "@typescript-eslint/camelcase": 0, |
77 | | - "@typescript-eslint/ban-ts-comment": 0, |
78 | | - "@typescript-eslint/no-use-before-define": 0, |
79 | | - "@typescript-eslint/no-non-null-assertion": 0, |
80 | | - "@typescript-eslint/no-explicit-any": 0, |
81 | | - "@typescript-eslint/no-unused-vars": 0, |
82 | | - "@typescript-eslint/explicit-function-return-type": 0, |
83 | | - "@typescript-eslint/explicit-module-boundary-types": 0, |
| 69 | + "object-curly-newline": "off", |
| 70 | + "default-case": "off", |
| 71 | + "wc/no-self-class": "off", |
| 72 | + "no-shadow": "off", |
| 73 | + "@typescript-eslint/camelcase": "off", |
| 74 | + "@typescript-eslint/ban-ts-comment": "off", |
| 75 | + "@typescript-eslint/no-use-before-define": "off", |
| 76 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 77 | + "@typescript-eslint/no-explicit-any": "off", |
| 78 | + "@typescript-eslint/explicit-function-return-type": "off", |
| 79 | + "@typescript-eslint/explicit-module-boundary-types": "off", |
84 | 80 | "@typescript-eslint/no-shadow": ["error"], |
85 | 81 | "@typescript-eslint/naming-convention": [ |
86 | | - 0, |
| 82 | + "off", |
87 | 83 | { |
88 | 84 | "selector": "default", |
89 | 85 | "format": ["camelCase", "snake_case"], |
|
101 | 97 | "format": ["PascalCase"] |
102 | 98 | } |
103 | 99 | ], |
104 | | - "lit/attribute-value-entities": 0 |
| 100 | + "@typescript-eslint/no-unused-vars": "off", |
| 101 | + "unused-imports/no-unused-vars": [ |
| 102 | + "error", |
| 103 | + { |
| 104 | + "vars": "all", |
| 105 | + "varsIgnorePattern": "^_", |
| 106 | + "args": "after-used", |
| 107 | + "argsIgnorePattern": "^_", |
| 108 | + "ignoreRestSiblings": true |
| 109 | + } |
| 110 | + ], |
| 111 | + "unused-imports/no-unused-imports": "error", |
| 112 | + "lit/attribute-value-entities": "off" |
105 | 113 | }, |
106 | | - "plugins": ["disable", "import", "lit", "prettier", "@typescript-eslint"], |
107 | | - "processor": "disable/disable", |
108 | | - "ignorePatterns": ["src/resources/lit-virtualizer/*"] |
| 114 | + "plugins": ["disable", "unused-imports"], |
| 115 | + "processor": "disable/disable" |
109 | 116 | } |
0 commit comments