File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 183
183
184
184
pnpm publish
185
185
186
+ # ESLint Config Inspector
187
+
188
+ npx @eslint/config-inspector
Original file line number Diff line number Diff line change
1
+ import globals from 'globals' ;
2
+ import customJS from './flat/javascript/index.mjs' ;
3
+ import customTypescript from './flat/typescript/index.mjs' ;
4
+ import customReact from './flat/reactjs/index.mjs' ;
5
+ import customStylistic from './flat/stylistic/index.mjs' ;
6
+
7
+ import tsParser from '@typescript-eslint/parser' ;
8
+
9
+ export default [
10
+ {
11
+ ignores : [
12
+ 'eslint.config.js' ,
13
+ 'vite.config.ts' ,
14
+ 'dist/'
15
+ ] ,
16
+ } ,
17
+ {
18
+ languageOptions : {
19
+ globals : {
20
+ ...globals . browser ,
21
+ } ,
22
+ parser : tsParser ,
23
+ parserOptions : {
24
+ project : [
25
+ 'tsconfig.json'
26
+ ] ,
27
+ }
28
+ } ,
29
+ } ,
30
+ ...customJS ,
31
+ ...customTypescript ,
32
+ ...customReact ,
33
+ ...customStylistic ,
34
+ {
35
+ plugins : {
36
+ } ,
37
+ rules : {
38
+ } ,
39
+ }
40
+ ] ;
You can’t perform that action at this time.
0 commit comments