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 11import pluginJs from '@eslint/js' ;
2- import jsdoc from 'eslint-plugin-jsdoc' ;
32import importX from 'eslint-plugin-import-x' ;
4-
3+ import jsdoc from 'eslint-plugin-jsdoc' ;
54import globals from 'globals' ;
65
76export default [
@@ -11,16 +10,10 @@ export default [
1110 ignores : [ 'out/' , 'src/generators/api-links/test/fixtures/' ] ,
1211 } ,
1312 {
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' ] ,
2214 rules : {
2315 'import-x/namespace' : 'off' ,
16+ 'import-x/no-named-as-default' : 'off' ,
2417 'import-x/no-named-as-default-member' : 'off' ,
2518 'import-x/no-unresolved' : 'off' ,
2619 'import-x/order' : [
@@ -41,6 +34,18 @@ export default [
4134 } ,
4235 } ,
4336 ] ,
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 : {
4449 'jsdoc/check-alignment' : 'error' ,
4550 'jsdoc/check-indentation' : 'error' ,
4651 'jsdoc/require-jsdoc' : [
You can’t perform that action at this time.
0 commit comments