@@ -3,7 +3,7 @@ import tseslint from "typescript-eslint";
33
44export default tseslint . config (
55 {
6- ignores : [ "node_modules/" , "out/" , "dist/" , "*.vsix" , ".vscode-test/" ]
6+ ignores : [ "node_modules/" , "out/" , "dist/" , "*.vsix" , ".vscode-test/" ] ,
77 } ,
88
99 eslint . configs . recommended ,
@@ -18,29 +18,25 @@ export default tseslint.config(
1818 {
1919 argsIgnorePattern : "^_" ,
2020 varsIgnorePattern : "^_" ,
21- caughtErrorsIgnorePattern : "^_"
22- }
21+ caughtErrorsIgnorePattern : "^_" ,
22+ destructuredArrayIgnorePattern : "^_" ,
23+ } ,
2324 ] ,
2425 "@typescript-eslint/no-explicit-any" : "warn" ,
2526 "@typescript-eslint/explicit-function-return-type" : "off" ,
26- "@typescript-eslint/no-non-null-assertion" : "warn " ,
27+ "@typescript-eslint/no-non-null-assertion" : "off " ,
2728 "@typescript-eslint/consistent-type-imports" : "warn" ,
2829
2930 "no-console" : "off" ,
30- "no-debugger" : "error" ,
31- "prefer-const" : "warn" ,
32- "no-var" : "error" ,
33- eqeqeq : [ "error" , "always" ] ,
34- "no-return-await" : "error" ,
35- "require-await" : "warn"
36- }
31+ } ,
3732 } ,
3833
3934 {
4035 files : [ "src/tests/*.test.ts" ] ,
4136 rules : {
4237 "@typescript-eslint/no-explicit-any" : "off" ,
43- "@typescript-eslint/no-non-null-assertion" : "off"
44- }
38+ "@typescript-eslint/no-non-null-assertion" : "off" ,
39+ "@typescript-eslint/no-unused-vars" : "off" ,
40+ } ,
4541 }
4642) ;
0 commit comments