File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import prettier from 'eslint-config-prettier/flat';
6
6
import markdown from 'eslint-plugin-markdown' ;
7
7
import pluginN from 'eslint-plugin-n' ;
8
8
import tseslint from 'typescript-eslint' ;
9
- import unicorn from 'eslint-plugin-unicorn' ;
10
9
11
10
import eslintPlugin from './lib/index.js' ;
12
11
@@ -28,9 +27,10 @@ export default tseslint.config([
28
27
...compat . extends (
29
28
'not-an-aardvark/node' ,
30
29
'plugin:@eslint-community/eslint-comments/recommended' ,
30
+ 'plugin:unicorn/recommended' ,
31
31
) ,
32
- unicorn . configs . recommended ,
33
32
pluginN . configs [ 'flat/recommended' ] ,
33
+ prettier ,
34
34
{
35
35
rules : {
36
36
'@eslint-community/eslint-comments/no-unused-disable' : 'error' ,
@@ -78,6 +78,9 @@ export default tseslint.config([
78
78
// Markdown JS code samples in documentation:
79
79
files : [ '**/*.md/*.js' , '**/*.md/*.ts' ] ,
80
80
plugins : { markdown } ,
81
+ languageOptions : {
82
+ sourceType : 'module' ,
83
+ } ,
81
84
linterOptions : { noInlineConfig : true } ,
82
85
rules : {
83
86
'no-undef' : 'off' ,
@@ -93,5 +96,4 @@ export default tseslint.config([
93
96
'unicorn/filename-case' : 'off' ,
94
97
} ,
95
98
} ,
96
- prettier ,
97
99
] ) ;
Original file line number Diff line number Diff line change 71
71
"eslint-doc-generator" : " ^2.2.2" ,
72
72
"eslint-plugin-markdown" : " ^5.1.0" ,
73
73
"eslint-plugin-n" : " ^17.21.0" ,
74
- "eslint-plugin-unicorn" : " ^60 .0.0 " ,
74
+ "eslint-plugin-unicorn" : " ^56 .0.1 " ,
75
75
"eslint-remote-tester" : " ^4.0.3" ,
76
76
"eslint-scope" : " ^8.0.1" ,
77
77
"espree" : " ^10.0.1" ,
You can’t perform that action at this time.
0 commit comments