File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import eslint from '@eslint/js' ;
2- import importPlugin from 'eslint-plugin-import' ;
32import jest from 'eslint-plugin-jest' ;
43import tseslint from 'typescript-eslint' ;
54
65export default tseslint . config (
76 eslint . configs . recommended ,
87 tseslint . configs . recommended ,
9- importPlugin . flatConfigs . errors ,
10- importPlugin . flatConfigs . typescript ,
118 {
129 plugins : { jest } ,
1310 rules : {
Original file line number Diff line number Diff line change 1414 "build" : " tsc && rollup -c" ,
1515 "clean" : " rimraf dist" ,
1616 "format" : " prettier . --write" ,
17- "lint:eslint" : " eslint src --ext .ts " ,
17+ "lint:eslint" : " eslint src" ,
1818 "lint:prettier" : " prettier . --check" ,
1919 "lint" : " npm run lint:eslint && npm run lint:prettier" ,
2020 "pkg-ok" : " pkg-ok" ,
4848 "node" : " >=22"
4949 },
5050 "devDependencies" : {
51- "@eslint/js" : " ^9 .0.0" ,
51+ "@eslint/js" : " ^10 .0.0" ,
5252 "@types/jest" : " ^30.0.0" ,
53- "eslint" : " ^9.0.0" ,
54- "eslint-plugin-import" : " ^2.0.0" ,
53+ "eslint" : " ^10.0.0" ,
5554 "eslint-plugin-jest" : " ^29.0.1" ,
5655 "jest" : " ^30.0.3" ,
5756 "pkg-ok" : " ^3.0.0" ,
6059 "rollup" : " ^4.0.0" ,
6160 "ts-jest" : " ^29.0.0" ,
6261 "typescript" : " ^5.0.0" ,
63- "typescript-eslint" : " ^8.0 .0"
62+ "typescript-eslint" : " ^8.56 .0"
6463 },
6564 "jest" : {
6665 "collectCoverage" : true ,
You can’t perform that action at this time.
0 commit comments