File tree 4 files changed +14
-6
lines changed
4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 176
176
],
177
177
"eslint-plugin/require-meta-docs-url" : " off" ,
178
178
"eslint-plugin/require-meta-has-suggestions" : " off" ,
179
- "eslint-plugin/require-meta-schema" : " off"
179
+ "eslint-plugin/require-meta-schema" : " off" ,
180
+ "eslint-plugin/require-meta-schema-description" : " off"
180
181
}
181
182
}
182
183
]
Original file line number Diff line number Diff line change @@ -271,13 +271,17 @@ function semverComparisonForOperator(operator) {
271
271
} [ operator ] ;
272
272
}
273
273
274
+ const DEFAULT_OPTIONS = {
275
+ terms : [ 'todo' , 'fixme' , 'xxx' ] ,
276
+ ignore : [ ] ,
277
+ ignoreDatesOnPullRequests : true ,
278
+ allowWarningComments : true ,
279
+ } ;
280
+
274
281
/** @param {import('eslint').Rule.RuleContext } context */
275
282
const create = context => {
276
283
const options = {
277
- terms : [ 'todo' , 'fixme' , 'xxx' ] ,
278
- ignore : [ ] ,
279
- ignoreDatesOnPullRequests : true ,
280
- allowWarningComments : true ,
284
+ ...DEFAULT_OPTIONS ,
281
285
date : new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) ,
282
286
...context . options [ 0 ] ,
283
287
} ;
@@ -564,7 +568,7 @@ const schema = [
564
568
} ,
565
569
allowWarningComments : {
566
570
type : 'boolean' ,
567
- default : false ,
571
+ default : true ,
568
572
} ,
569
573
date : {
570
574
type : 'string' ,
@@ -584,6 +588,7 @@ module.exports = {
584
588
recommended : true ,
585
589
} ,
586
590
schema,
591
+ defaultOptions : [ { ...DEFAULT_OPTIONS } ] ,
587
592
messages,
588
593
} ,
589
594
} ;
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ export default [
223
223
// Invalid syntax
224
224
'src/vs/platform/files/test/node/fixtures/**' ,
225
225
'src/vs/workbench/services/search/test/node/fixtures/examples/**' ,
226
+ 'extensions/vscode-colorize-perf-tests/test/**' ,
226
227
] ,
227
228
} ,
228
229
] . flatMap ( ( projectOrProjects , index ) =>
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ function getCompactConfig(config) {
168
168
// `Intl` was added to ESLint https://github.com/eslint/eslint/pull/18318
169
169
// But `@eslint/eslintrc` choose not to update `globals` https://github.com/eslint/eslintrc/pull/164
170
170
Intl : false ,
171
+ Iterator : false ,
171
172
} ;
172
173
result [ key ] = languageOptions ;
173
174
} else if ( key === 'plugins' ) {
You can’t perform that action at this time.
0 commit comments