|
1 | 1 | {
|
2 |
| - "extends": "eslint:recommended", |
3 |
| - "env": { |
4 |
| - "browser": true, |
5 |
| - "node": true, |
6 |
| - "es6": true |
7 |
| - }, |
8 |
| - "plugins": [ |
9 |
| - "html" |
| 2 | + "extends": [ |
| 3 | + "vaadin/typescript-requiring-type-checking", |
| 4 | + "vaadin/imports-typescript", |
| 5 | + "vaadin/prettier", |
| 6 | + "vaadin/testing", |
| 7 | + "plugin:oxlint/recommended" |
10 | 8 | ],
|
11 |
| - "globals": { |
12 |
| - "Polymer": false, |
13 |
| - "Vaadin": false |
14 |
| - }, |
15 | 9 | "parserOptions": {
|
16 |
| - "sourceType": "module" |
| 10 | + "project": "./tsconfig.json" |
17 | 11 | },
|
| 12 | + "plugins": ["tsdoc"], |
18 | 13 | "rules": {
|
19 |
| - "curly": 2, |
20 |
| - "no-caller": 2, |
21 |
| - "no-extend-native": 2, |
22 |
| - "no-extra-bind": 2, |
23 |
| - "no-invalid-this": 2, |
24 |
| - "no-multi-spaces": 2, |
25 |
| - "no-new-wrappers": 2, |
26 |
| - "no-with": 2, |
27 |
| - "array-bracket-spacing": [2, "never"], |
28 |
| - "brace-style": 2, |
29 |
| - |
30 |
| - "camelcase": [2, {"properties": "never"}], |
31 |
| - "comma-spacing": 2, |
32 |
| - "comma-style": 2, |
33 |
| - "computed-property-spacing": 2, |
34 |
| - "func-call-spacing": 2, |
35 |
| - "indent": [2, 2, {"SwitchCase": 1}], |
36 |
| - "key-spacing": 2, |
37 |
| - "keyword-spacing": 2, |
38 |
| - "linebreak-style": 2, |
39 |
| - "max-len": [2, {"code": 140}], |
40 |
| - "no-array-constructor": 2, |
41 |
| - "no-multiple-empty-lines": [2, {"max": 2}], |
42 |
| - "no-new-object": 2, |
43 |
| - "no-trailing-spaces": 2, |
44 |
| - "object-curly-spacing": 2, |
45 |
| - "quote-props": [2, "consistent"], |
46 |
| - "quotes": [2, "single", {"allowTemplateLiterals": true}], |
47 |
| - "semi-spacing": 2, |
48 |
| - "semi": 2, |
49 |
| - "space-before-blocks": 2, |
50 |
| - "space-before-function-paren": [2, "never"], |
51 |
| - "space-in-parens": 2, |
52 |
| - "space-infix-ops": 2, |
53 |
| - "spaced-comment": [2, "always"], |
54 |
| - |
55 |
| - "arrow-spacing": 2, |
56 |
| - "constructor-super": 2, |
57 |
| - "no-confusing-arrow": 2, |
58 |
| - "no-const-assign": 2, |
59 |
| - "no-dupe-class-members": 2, |
60 |
| - "no-duplicate-imports": 2, |
61 |
| - "no-this-before-super": 2, |
62 |
| - "no-useless-computed-key": 2, |
63 |
| - "no-useless-constructor": 2, |
64 |
| - "no-useless-rename": 2, |
65 |
| - "prefer-const": 2, |
66 |
| - "rest-spread-spacing": 2, |
67 |
| - "template-curly-spacing": 2, |
68 |
| - |
69 |
| - "no-unused-vars": ["error", { "args": "none" }] |
| 14 | + "@typescript-eslint/no-invalid-void-type": "off", |
| 15 | + "@typescript-eslint/no-useless-template-literals": "off", |
| 16 | + "import/no-unassigned-import": "off", |
| 17 | + "max-params": "off", |
| 18 | + "sort-keys": "off", |
| 19 | + "tsdoc/syntax": "error", |
| 20 | + "import/prefer-default-export": "off" |
70 | 21 | },
|
71 |
| - "overrides": [{ |
72 |
| - "files": ["gulpfile.js"], |
73 |
| - "parserOptions": { |
74 |
| - "ecmaVersion": 2017 |
75 |
| - } |
76 |
| - }] |
| 22 | + "ignorePatterns": ["*.cjs"] |
77 | 23 | }
|
0 commit comments