File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1+ /** @import { TSESLint } from '@typescript-eslint/utils' */
12import nPlugin from 'eslint-plugin-n' ;
23import nodeSecurity from 'eslint-plugin-security-node' ;
34import globals from 'globals' ;
@@ -7,7 +8,8 @@ import tseslint from 'typescript-eslint';
78export function prepareConfig ( ) {
89 return tseslint . config (
910 ...nPlugin . configs [ 'flat/mixed-esm-and-cjs' ] . map ( c => ( {
10- ...c ,
11+ // cast to be removed after https://github.com/typescript-eslint/typescript-eslint/issues/9724
12+ .../** @type {TSESLint.FlatConfig.Config } */ ( c ) ,
1113 files : /** @type {string[] } */ ( c . files ) . flatMap ( f => [ f , f . replace ( '.js' , '.ts' ) ] )
1214 } ) ) ,
1315 {
Original file line number Diff line number Diff line change 3333 "typescript-eslint" : " ~8.0.0"
3434 },
3535 "devDependencies" : {
36- "@types/eslint" : " ^8.56.8 " ,
36+ "@types/eslint" : " ^9.6.0 " ,
3737 "@types/eslint__js" : " ^8.42.3" ,
3838 "@types/jest" : " ^29.5.12" ,
3939 "@types/node" : " ^20.14.2" ,
Original file line number Diff line number Diff line change 802802 " @types/estree" " *"
803803 " @types/json-schema" " *"
804804
805- " @types/eslint@^8.56.8 " :
806- version "8.56.11"
807- resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.11.tgz#e2ff61510a3b9454b3329fe7731e3b4c6f780041"
808- integrity sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==
809- dependencies :
810- " @types/estree" " *"
811- " @types/json-schema" " *"
812-
813805" @types/eslint__js@^8.42.3 " :
814806 version "8.42.3"
815807 resolved "https://registry.yarnpkg.com/@types/eslint__js/-/eslint__js-8.42.3.tgz#d1fa13e5c1be63a10b4e3afe992779f81c1179a0"
You can’t perform that action at this time.
0 commit comments