|
3 | 3 | "organizeImports": {
|
4 | 4 | "enabled": true
|
5 | 5 | },
|
6 |
| - "files": { |
7 |
| - "include": ["*.{js,ts,stx,vue,html,css,json,yml,yaml,md}"], |
8 |
| - "ignore": [ |
9 |
| - "**/node_modules", |
10 |
| - "**/cdk.out", |
11 |
| - "**/dist", |
12 |
| - "**/*out*", |
13 |
| - "CHANGELOG.md" |
14 |
| - ] |
15 |
| - }, |
16 | 6 | "overrides": [
|
17 | 7 | {
|
18 | 8 | "include": [".vscode/**"],
|
|
24 | 14 | }
|
25 | 15 | }
|
26 | 16 | ],
|
27 |
| - "formatter": { |
28 |
| - "enabled": true, |
29 |
| - "formatWithErrors": false, |
30 |
| - "ignore": [], |
31 |
| - "attributePosition": "auto", |
32 |
| - "indentStyle": "space", |
33 |
| - "indentWidth": 2, |
34 |
| - "lineEnding": "lf", |
35 |
| - "lineWidth": 80 |
| 17 | + "javascript": { |
| 18 | + "formatter": { |
| 19 | + "jsxQuoteStyle": "double", |
| 20 | + "quoteProperties": "asNeeded", |
| 21 | + "trailingComma": "all", |
| 22 | + "semicolons": "asNeeded", |
| 23 | + "arrowParentheses": "always", |
| 24 | + "bracketSpacing": true, |
| 25 | + "bracketSameLine": false, |
| 26 | + "quoteStyle": "single", |
| 27 | + "attributePosition": "auto", |
| 28 | + "indentStyle": "space", |
| 29 | + "indentWidth": 2, |
| 30 | + "lineEnding": "lf" |
| 31 | + } |
| 32 | + }, |
| 33 | + "json": { |
| 34 | + "formatter": { |
| 35 | + "indentStyle": "space", |
| 36 | + "indentWidth": 2, |
| 37 | + "lineEnding": "lf" |
| 38 | + } |
36 | 39 | },
|
37 | 40 | "linter": {
|
38 | 41 | "enabled": true,
|
39 | 42 | "rules": {
|
40 |
| - "recommended": true |
| 43 | + "recommended": true, |
| 44 | + "style": { |
| 45 | + "noParameterAssign": "off", |
| 46 | + "noUnusedTemplateLiteral": "off" |
| 47 | + }, |
| 48 | + "complexity": { |
| 49 | + "noForEach": "off", |
| 50 | + "noStaticOnlyClass": "off" |
| 51 | + }, |
| 52 | + "suspicious": { |
| 53 | + "noExplicitAny": "off" |
| 54 | + } |
41 | 55 | }
|
42 | 56 | },
|
| 57 | + "files": { |
| 58 | + "ignore": ["storage/framework/types/*", "storage/framework/cache/*"] |
| 59 | + }, |
43 | 60 | "vcs": {
|
44 | 61 | "enabled": true,
|
45 | 62 | "clientKind": "git",
|
46 |
| - "useIgnoreFile": true |
| 63 | + "useIgnoreFile": true, |
| 64 | + "defaultBranch": "main" |
47 | 65 | }
|
48 | 66 | }
|
0 commit comments