File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ import path from 'node:path' ;
12import { globalIgnores } from 'eslint/config' ;
23import prettierRecommended from 'eslint-plugin-prettier/recommended' ;
34import globals from 'globals' ;
45import tsEslint from 'typescript-eslint' ;
6+ import { includeIgnoreFile } from '@eslint/compat' ;
57import js from '@eslint/js' ;
68import { FlatCompat } from '@eslint/eslintrc' ;
79
@@ -12,6 +14,7 @@ const compat = new FlatCompat({
1214} ) ;
1315
1416const config = tsEslint . config ( [
17+ includeIgnoreFile ( path . resolve ( __dirname , '.gitignore' ) ) ,
1518 globalIgnores ( [
1619 // compiled code
1720 'node_package/lib/' ,
Original file line number Diff line number Diff line change 2323 "@babel/eslint-parser" : " ^7.26.10" ,
2424 "@babel/preset-env" : " ^7.20.2" ,
2525 "@babel/preset-react" : " ^7.26.3" ,
26+ "@eslint/compat" : " ^1.2.7" ,
2627 "@testing-library/dom" : " ^10.4.0" ,
2728 "@testing-library/jest-dom" : " ^6.6.3" ,
2829 "@testing-library/react" : " ^16.2.0" ,
Original file line number Diff line number Diff line change 10731073 resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0"
10741074 integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==
10751075
1076+ " @eslint/compat@^1.2.7 " :
1077+ version "1.2.7"
1078+ resolved "https://registry.yarnpkg.com/@eslint/compat/-/compat-1.2.7.tgz#f1a890281631ad27530479420b743dd92626e819"
1079+ integrity sha512-xvv7hJE32yhegJ8xNAnb62ggiAwTYHBpUCWhRxEj/ksvgDJuSXfoDkBcRYaYNFiJ+jH0IE3K16hd+xXzhBgNbg==
1080+
10761081" @eslint/config-array@^0.19.2 " :
10771082 version "0.19.2"
10781083 resolved "https://registry.yarnpkg.com/@eslint/config-array/-/config-array-0.19.2.tgz#3060b809e111abfc97adb0bb1172778b90cb46aa"
You can’t perform that action at this time.
0 commit comments