|
56 | 56 | "node": ">=22", |
57 | 57 | "npm": ">=10" |
58 | 58 | }, |
59 | | - "xo": { |
60 | | - "space": true, |
61 | | - "semicolon": true, |
62 | | - "prettier": true, |
63 | | - "rules": { |
64 | | - "@typescript-eslint/triple-slash-reference": "off", |
65 | | - "@typescript-eslint/naming-convention": "off", |
66 | | - "@typescript-eslint/consistent-type-definitions": "off", |
67 | | - "@typescript-eslint/member-ordering": "off", |
68 | | - "@typescript-eslint/no-unsafe-assignment": "off", |
69 | | - "@typescript-eslint/prefer-nullish-coalescing": "off", |
70 | | - "@typescript-eslint/no-unsafe-return": "off", |
71 | | - "@typescript-eslint/no-unsafe-argument": "off", |
72 | | - "@typescript-eslint/consistent-type-imports": "off", |
73 | | - "@typescript-eslint/no-empty-function": "off", |
74 | | - "@typescript-eslint/no-floating-promises": "off", |
75 | | - "@typescript-eslint/ban-types": "off", |
76 | | - "@typescript-eslint/no-restricted-types": "off", |
77 | | - "@typescript-eslint/switch-exhaustiveness-check": "off", |
78 | | - "@typescript-eslint/no-unsafe-call": "off", |
79 | | - "@typescript-eslint/no-dynamic-delete": "off", |
80 | | - "@typescript-eslint/dot-notation": "off", |
81 | | - "@typescript-eslint/no-base-to-string": "off", |
82 | | - "@typescript-eslint/restrict-template-expressions": "off", |
83 | | - "import-x/no-unassigned-import": "off", |
84 | | - "import/extensions": "off", |
85 | | - "n/prefer-global/process": "off", |
86 | | - "no-new-func": "off", |
87 | | - "unicorn/no-process-exit": "off", |
88 | | - "unicorn/prefer-add-event-listener": "off", |
89 | | - "unicorn/prefer-switch": "off", |
90 | | - "unicorn/prefer-global-this": "off", |
91 | | - "unicorn/prefer-module": "off", |
92 | | - "unicorn/no-new-array": "off", |
93 | | - "unicorn/no-array-callback-reference": "off", |
94 | | - "unicorn/prevent-abbreviations": [ |
95 | | - "error", |
96 | | - { |
97 | | - "allowList": { |
98 | | - "combineDocsChain": true, |
99 | | - "env": true, |
100 | | - "Db": true, |
101 | | - "db": true, |
102 | | - "auth": true, |
103 | | - "args": true, |
104 | | - "Args": true, |
105 | | - "arg": true, |
106 | | - "i": true |
107 | | - } |
108 | | - } |
| 59 | + "xo": [ |
| 60 | + { |
| 61 | + "ignores": [ |
| 62 | + "**/*.genai.mjs" |
109 | 63 | ] |
| 64 | + }, |
| 65 | + { |
| 66 | + "space": true, |
| 67 | + "semicolon": true, |
| 68 | + "prettier": true, |
| 69 | + "rules": { |
| 70 | + "@typescript-eslint/triple-slash-reference": "off", |
| 71 | + "@typescript-eslint/naming-convention": "off", |
| 72 | + "@typescript-eslint/consistent-type-definitions": "off", |
| 73 | + "@typescript-eslint/member-ordering": "off", |
| 74 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 75 | + "@typescript-eslint/prefer-nullish-coalescing": "off", |
| 76 | + "@typescript-eslint/no-unsafe-return": "off", |
| 77 | + "@typescript-eslint/no-unsafe-argument": "off", |
| 78 | + "@typescript-eslint/consistent-type-imports": "off", |
| 79 | + "@typescript-eslint/no-empty-function": "off", |
| 80 | + "@typescript-eslint/no-floating-promises": "off", |
| 81 | + "@typescript-eslint/ban-types": "off", |
| 82 | + "@typescript-eslint/no-restricted-types": "off", |
| 83 | + "@typescript-eslint/switch-exhaustiveness-check": "off", |
| 84 | + "@typescript-eslint/no-unsafe-call": "off", |
| 85 | + "@typescript-eslint/no-dynamic-delete": "off", |
| 86 | + "@typescript-eslint/dot-notation": "off", |
| 87 | + "@typescript-eslint/no-base-to-string": "off", |
| 88 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 89 | + "import-x/no-unassigned-import": "off", |
| 90 | + "import/extensions": "off", |
| 91 | + "n/prefer-global/process": "off", |
| 92 | + "no-new-func": "off", |
| 93 | + "unicorn/no-process-exit": "off", |
| 94 | + "unicorn/prefer-add-event-listener": "off", |
| 95 | + "unicorn/prefer-switch": "off", |
| 96 | + "unicorn/prefer-global-this": "off", |
| 97 | + "unicorn/prefer-module": "off", |
| 98 | + "unicorn/no-new-array": "off", |
| 99 | + "unicorn/no-array-callback-reference": "off", |
| 100 | + "unicorn/prevent-abbreviations": [ |
| 101 | + "error", |
| 102 | + { |
| 103 | + "allowList": { |
| 104 | + "combineDocsChain": true, |
| 105 | + "env": true, |
| 106 | + "Db": true, |
| 107 | + "db": true, |
| 108 | + "auth": true, |
| 109 | + "args": true, |
| 110 | + "Args": true, |
| 111 | + "arg": true, |
| 112 | + "i": true |
| 113 | + } |
| 114 | + } |
| 115 | + ] |
| 116 | + } |
110 | 117 | } |
111 | | - }, |
| 118 | + ], |
112 | 119 | "prettier": { |
113 | 120 | "tabWidth": 2, |
114 | 121 | "semi": true, |
|
0 commit comments