File tree Expand file tree Collapse file tree 2 files changed +24
-26
lines changed
Expand file tree Collapse file tree 2 files changed +24
-26
lines changed Original file line number Diff line number Diff line change 1+ import eslint from '@eslint/js' ;
2+ import importPlugin from 'eslint-plugin-import' ;
3+ import jest from 'eslint-plugin-jest' ;
4+ import tseslint from 'typescript-eslint' ;
5+
6+ export default tseslint . config (
7+ eslint . configs . recommended ,
8+ tseslint . configs . recommended ,
9+ importPlugin . flatConfigs . errors ,
10+ importPlugin . flatConfigs . typescript ,
11+ {
12+ plugins : { jest } ,
13+ rules : {
14+ '@typescript-eslint/no-unsafe-function-type' : 'off' ,
15+ '@typescript-eslint/no-explicit-any' : 'warn' ,
16+ } ,
17+ } ,
18+ ) ;
Original file line number Diff line number Diff line change 4545 },
4646 "homepage" : " https://github.com/abraham/reflection#readme" ,
4747 "devDependencies" : {
48- "pkg-ok " : " ^3 .0.0" ,
48+ "@eslint/js " : " ^9 .0.0" ,
4949 "@types/jest" : " ^29.0.0" ,
50- "@typescript-eslint/eslint-plugin" : " ^8.0.0" ,
51- "@typescript-eslint/parser" : " ^8.0.0" ,
52- "eslint" : " ^8.0.0" ,
50+ "eslint" : " ^9.0.0" ,
5351 "eslint-plugin-import" : " ^2.0.0" ,
5452 "eslint-plugin-jest" : " ^28.0.0" ,
5553 "jest" : " ^29.0.0" ,
54+ "pkg-ok" : " ^3.0.0" ,
5655 "prettier" : " ^3.0.0" ,
57- "rimraf" : " ^6.0.0 " ,
56+ "rimraf" : " ^6.0.1 " ,
5857 "rollup" : " ^4.0.0" ,
5958 "ts-jest" : " ^29.0.0" ,
60- "typescript" : " ^5.0.0"
59+ "typescript" : " ^5.0.0" ,
60+ "typescript-eslint" : " ^8.0.0"
6161 },
6262 "jest" : {
6363 "collectCoverage" : true ,
7777 " node"
7878 ]
7979 },
80- "eslintConfig" : {
81- "root" : true ,
82- "parser" : " @typescript-eslint/parser" ,
83- "plugins" : [
84- " @typescript-eslint" ,
85- " jest"
86- ],
87- "extends" : [
88- " eslint:recommended" ,
89- " plugin:@typescript-eslint/eslint-recommended" ,
90- " plugin:@typescript-eslint/recommended" ,
91- " plugin:jest/recommended" ,
92- " plugin:import/errors" ,
93- " plugin:import/typescript"
94- ],
95- "rules" : {
96- "@typescript-eslint/no-unsafe-function-type" : " off" ,
97- "@typescript-eslint/no-explicit-any" : " warn"
98- }
99- },
10080 "prettier" : {
10181 "singleQuote" : true ,
10282 "trailingComma" : " all"
You can’t perform that action at this time.
0 commit comments