@@ -111,7 +111,10 @@ export default [
111111 "unicorn/prevent-abbreviations" : "off" ,
112112 // userName/userEmail/userSigningKey mirror git config keys (user.name/user.email/user.signingkey);
113113 // "username" connotes a login handle, which these display-name values are not
114- "unicorn/consistent-compound-words" : [ "error" , { replacements : { userName : false } } ] ,
114+ "unicorn/consistent-compound-words" : [
115+ "error" ,
116+ { replacements : { userName : false } } ,
117+ ] ,
115118 "unicorn/filename-case" : "off" ,
116119 "unicorn/no-process-exit" : "off" ,
117120 "unicorn/prefer-module" : "off" ,
@@ -120,6 +123,34 @@ export default [
120123 "unicorn/import-style" : "off" ,
121124 "unicorn/no-useless-undefined" : "off" , // TypeScript requires explicit undefined arguments (resolve(undefined), update(key, undefined))
122125 "unicorn/no-useless-error-capture-stack-trace" : "off" , // V8-specific Error.captureStackTrace is guarded by if-check for non-V8 engines
126+
127+ // ADR-00240 Phase 1: disable v67 rules that conflict with VS Code extension patterns.
128+ "unicorn/no-top-level-assignment-in-function" : "off" ,
129+ "unicorn/no-top-level-side-effects" : "off" ,
130+ "unicorn/no-non-function-verb-prefix" : "off" ,
131+ "unicorn/no-error-property-assignment" : "off" ,
132+
133+ // ADR-00240 Phase 1: keep remaining v67 findings visible while unblocking CI.
134+ "unicorn/prefer-await" : "warn" ,
135+ "unicorn/max-nested-calls" : "warn" ,
136+ "unicorn/consistent-boolean-name" : "warn" ,
137+ "unicorn/no-computed-property-existence-check" : "warn" ,
138+ "unicorn/consistent-class-member-order" : "warn" ,
139+ "unicorn/no-break-in-nested-loop" : "warn" ,
140+ "unicorn/no-unsafe-string-replacement" : "warn" ,
141+ "unicorn/prefer-unicode-code-point-escapes" : "warn" ,
142+ "unicorn/prefer-early-return" : "warn" ,
143+ "unicorn/prefer-number-coercion" : "warn" ,
144+ "unicorn/no-declarations-before-early-exit" : "warn" ,
145+ "unicorn/no-incorrect-template-string-interpolation" : "warn" ,
146+ "unicorn/no-unreadable-array-destructuring" : "warn" ,
147+ "unicorn/number-literal-case" : "warn" ,
148+ "unicorn/require-array-sort-compare" : "warn" ,
149+ "unicorn/no-optional-chaining-on-undeclared-variable" : "warn" ,
150+ "unicorn/prefer-iterator-to-array" : "warn" ,
151+ "unicorn/prefer-minimal-ternary" : "warn" ,
152+ "unicorn/prefer-uint8array-base64" : "warn" ,
153+ "unicorn/prefer-private-class-fields" : "warn" ,
123154 } ,
124155 linterOptions : {
125156 reportUnusedDisableDirectives : "warn" ,
@@ -165,7 +196,12 @@ export default [
165196 } ,
166197 } ,
167198 {
168- files : [ "**/validators/common.ts" , "**/core/constants.ts" , "**/ui/htmlTemplates/csp.ts" , "**/ui/htmlTemplates/shell.ts" ] ,
199+ files : [
200+ "**/validators/common.ts" ,
201+ "**/core/constants.ts" ,
202+ "**/ui/htmlTemplates/csp.ts" ,
203+ "**/ui/htmlTemplates/shell.ts" ,
204+ ] ,
169205 rules : {
170206 "no-restricted-syntax" : "off" ,
171207 "no-magic-numbers" : "off" ,
@@ -204,6 +240,14 @@ export default [
204240 } ,
205241 } ,
206242 {
207- ignores : [ "out/**" , "node_modules/**" , "coverage/**" , "scripts/**" , ".vscode-test/**" , "*.js" , "*.mjs" ] ,
243+ ignores : [
244+ "out/**" ,
245+ "node_modules/**" ,
246+ "coverage/**" ,
247+ "scripts/**" ,
248+ ".vscode-test/**" ,
249+ "*.js" ,
250+ "*.mjs" ,
251+ ] ,
208252 } ,
209253] ;
0 commit comments