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 { defineConfig } from 'eslint/config';
6
6
import prettier from 'eslint-config-prettier/flat' ;
7
7
import markdown from 'eslint-plugin-markdown' ;
8
8
import pluginN from 'eslint-plugin-n' ;
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 defineConfig([
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' ,
@@ -71,6 +71,9 @@ export default defineConfig([
71
71
// Markdown JS code samples in documentation:
72
72
files : [ '**/*.md/*.js' ] ,
73
73
plugins : { markdown } ,
74
+ languageOptions : {
75
+ sourceType : 'module' ,
76
+ } ,
74
77
linterOptions : { noInlineConfig : true } ,
75
78
rules : {
76
79
'no-undef' : 'off' ,
@@ -84,5 +87,4 @@ export default defineConfig([
84
87
'unicorn/filename-case' : 'off' ,
85
88
} ,
86
89
} ,
87
- prettier ,
88
90
] ) ;
Original file line number Diff line number Diff line change 70
70
"eslint-doc-generator" : " ^2.2.2" ,
71
71
"eslint-plugin-markdown" : " ^5.1.0" ,
72
72
"eslint-plugin-n" : " ^17.21.0" ,
73
- "eslint-plugin-unicorn" : " ^60 .0.0 " ,
73
+ "eslint-plugin-unicorn" : " ^56 .0.1 " ,
74
74
"eslint-remote-tester" : " ^4.0.3" ,
75
75
"eslint-scope" : " ^8.0.1" ,
76
76
"espree" : " ^10.0.1" ,
You can’t perform that action at this time.
0 commit comments