|
7 | 7 | } |
8 | 8 | }, |
9 | 9 | "files": { |
10 | | - "includes": ["**", "!!node_modules", "!!.next", "!next-env.d.ts"] |
| 10 | + "includes": ["**", "!!node_modules", "!!build", "!!.next", "!next-env.d.ts"] |
11 | 11 | }, |
12 | 12 | "linter": { |
13 | 13 | "rules": { |
|
21 | 21 | "ignoreRestSiblings": true |
22 | 22 | } |
23 | 23 | }, |
24 | | - "useImageSize": "off" // className |
25 | | - // "noNestedComponentDefinitions": "off" // shadcn |
| 24 | + "useImageSize": "off", // className |
| 25 | + "noNestedComponentDefinitions": "off" // shadcn |
26 | 26 | }, |
27 | 27 | "suspicious": { |
28 | 28 | "noConsole": { |
29 | 29 | "level": "error", |
30 | 30 | "options": { |
31 | 31 | "allow": ["assert", "error", "info", "warn"] |
32 | 32 | } |
33 | | - } |
34 | | - // "noExplicitAny": "off" // ts chill |
35 | | - // "noArrayIndexKey": "off", // chill |
36 | | - // "noUnknownAtRules": "off", // allow for Tailwind @ rules |
37 | | - // "noEmptyBlockStatements": "off", // chill |
38 | | - // "useAwait": "off", // chill |
39 | | - // "noDocumentCookie": "off", // shadcn, |
40 | | - // "noBitwiseOperators": "off", // chill |
41 | | - // "noConfusingVoidType": "off" // false + |
| 33 | + }, |
| 34 | + "noAlert": "off", // example |
| 35 | + "noExplicitAny": "off", // ts chill |
| 36 | + "noArrayIndexKey": "off", // chill |
| 37 | + "noUnknownAtRules": "off", // allow for Tailwind @ rules |
| 38 | + "noEmptyBlockStatements": "off", // chill |
| 39 | + "useAwait": "off", // chill |
| 40 | + "noDocumentCookie": "off", // shadcn |
| 41 | + "noBitwiseOperators": "off", // chill |
| 42 | + "noConfusingVoidType": "off" // false + |
42 | 43 | }, |
43 | 44 | "style": { |
44 | | - // "noMagicNumbers": "off", // chill |
45 | | - // "useFilenamingConvention": "off", // chill |
46 | | - // "noNestedTernary": "off", // chill |
47 | | - "noNonNullAssertion": "off" // ts chill |
48 | | - // "useDefaultSwitchClause": "off", // chill |
49 | | - // "useBlockStatements": "off" // chill, |
| 45 | + "noNestedTernary": "off", // chill |
| 46 | + "noNonNullAssertion": "off", // ts chill |
| 47 | + "useDefaultSwitchClause": "off", // chill |
| 48 | + "useBlockStatements": "off" // chill |
50 | 49 | }, |
51 | 50 | "nursery": { |
52 | 51 | "noShadow": "off", // chill |
53 | 52 | "noIncrementDecrement": "off" // chill |
54 | 53 | }, |
55 | 54 | "complexity": { |
56 | | - // "useSimplifiedLogicExpression": "off", // false + |
57 | | - // "noExcessiveCognitiveComplexity": "off", // chill |
58 | | - "noForEach": "off" // chill |
59 | | - // "noVoid": "off", // chill |
60 | | - // "noBannedTypes": "off" // chill |
| 55 | + "useSimplifiedLogicExpression": "off", // false + |
| 56 | + "noExcessiveCognitiveComplexity": "off", // chill |
| 57 | + "noForEach": "off", // chill |
| 58 | + "noVoid": "off", // chill, |
| 59 | + "noBannedTypes": "off" // chill |
61 | 60 | }, |
62 | 61 | "a11y": { |
63 | | - // "noNoninteractiveElementInteractions": "off", // region role not supported |
| 62 | + "noNoninteractiveElementInteractions": "off", // region role not supported |
64 | 63 | "useKeyWithClickEvents": "off", // shadcn |
65 | 64 | "useSemanticElements": "off", // shadcn |
66 | | - "useFocusableInteractive": "off" // shadcn |
| 65 | + "useFocusableInteractive": "off", // shadcn |
| 66 | + "noSvgWithoutTitle": "off", |
| 67 | + "noStaticElementInteractions": "off", |
| 68 | + "useMediaCaption": "off", |
| 69 | + "useKeyWithMouseEvents": "off", |
| 70 | + "useAriaPropsSupportedByRole": "off" |
67 | 71 | }, |
68 | 72 | "security": { |
69 | 73 | "noDangerouslySetInnerHtml": "off" // shadcn |
|
0 commit comments