File tree Expand file tree Collapse file tree 4 files changed +3
-10
lines changed Expand file tree Collapse file tree 4 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ function quux () {}
689
689
function quux2 () {
690
690
691
691
}
692
- // Settings: {"jsdoc":{"matchingFileName":"test/rules/data/dummyfile .js"}}
692
+ // Settings: {"jsdoc":{"matchingFileName":"test/rules/data/dummy .js"}}
693
693
// Message: @example error (semi): Missing semicolon.
694
694
695
695
/**
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ export default iterateJsdoc(({
159
159
160
160
linter . defineRules ( linterRules ) ;
161
161
162
+ // Could also support `disableFixes` and `allowInlineConfig`
162
163
messages = linter . verify ( source , config , {
163
164
filename,
164
165
reportUnusedDisableDirectives
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-restricted-syntax */
2
2
3
- // After `importMeta` no longer experimental, we can use this ESM
4
- // approach over `__dirname`?
5
- // import {fileURLToPath} from 'url';
6
- // import {join, dirname} from 'path';
7
- // join(dirname(fileURLToPath(import.meta.url)), 'babel-eslint')
8
-
9
3
export default {
10
4
invalid : [
11
5
{
@@ -320,7 +314,7 @@ export default {
320
314
] ,
321
315
settings : {
322
316
jsdoc : {
323
- matchingFileName : require . resolve ( '../ data/test .js')
317
+ matchingFileName : 'test/rules/ data/dummy .js'
324
318
}
325
319
}
326
320
} ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments