File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
import pluginJs from '@eslint/js' ;
2
- import jsdoc from 'eslint-plugin-jsdoc' ;
3
2
import importX from 'eslint-plugin-import-x' ;
4
-
3
+ import jsdoc from 'eslint-plugin-jsdoc' ;
5
4
import globals from 'globals' ;
6
5
7
6
export default [
@@ -11,16 +10,10 @@ export default [
11
10
ignores : [ 'out/' , 'src/generators/api-links/test/fixtures/' ] ,
12
11
} ,
13
12
{
14
- files : [ 'src/**/*.mjs' , 'bin/**/*.mjs' ] ,
15
- plugins : {
16
- jsdoc : jsdoc ,
17
- } ,
18
- languageOptions : {
19
- ecmaVersion : 'latest' ,
20
- globals : { ...globals . node } ,
21
- } ,
13
+ files : [ '**/*.mjs' ] ,
22
14
rules : {
23
15
'import-x/namespace' : 'off' ,
16
+ 'import-x/no-named-as-default' : 'off' ,
24
17
'import-x/no-named-as-default-member' : 'off' ,
25
18
'import-x/no-unresolved' : 'off' ,
26
19
'import-x/order' : [
@@ -41,6 +34,18 @@ export default [
41
34
} ,
42
35
} ,
43
36
] ,
37
+ } ,
38
+ } ,
39
+ {
40
+ files : [ 'src/**/*.mjs' , 'bin/**/*.mjs' ] ,
41
+ plugins : {
42
+ jsdoc : jsdoc ,
43
+ } ,
44
+ languageOptions : {
45
+ ecmaVersion : 'latest' ,
46
+ globals : { ...globals . node } ,
47
+ } ,
48
+ rules : {
44
49
'jsdoc/check-alignment' : 'error' ,
45
50
'jsdoc/check-indentation' : 'error' ,
46
51
'jsdoc/require-jsdoc' : [
You can’t perform that action at this time.
0 commit comments