File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import path from 'node:path' ;
2+ import { fileURLToPath } from 'node:url' ;
3+ import { FlatCompat } from '@eslint/eslintrc' ;
4+
5+ const __filename = fileURLToPath ( import . meta. url ) ;
6+ const __dirname = path . dirname ( __filename ) ;
7+
8+ const compat = new FlatCompat ( {
9+ baseDirectory : __dirname ,
10+ } ) ;
11+
112export default [
13+ ...compat . extends ( 'gts' ) ,
214 {
315 ignores : [
4- "**/node_modules/**" ,
516 "**/build/**" ,
617 "**/coverage/**" ,
718 "**/.nyc_output/**"
Original file line number Diff line number Diff line change 1+ import path from 'node:path' ;
2+ import { fileURLToPath } from 'node:url' ;
3+ import { FlatCompat } from '@eslint/eslintrc' ;
4+
5+ const __filename = fileURLToPath ( import . meta. url ) ;
6+ const __dirname = path . dirname ( __filename ) ;
7+
8+ const compat = new FlatCompat ( {
9+ baseDirectory : __dirname ,
10+ } ) ;
11+
112export default [
13+ ...compat . extends ( 'gts' ) ,
214 {
315 ignores : [
4- "**/node_modules/**" ,
516 "**/.coverage/**" ,
617 "**/build/**" ,
718 "**/docs/**" ,
You can’t perform that action at this time.
0 commit comments