update tsconfig

This commit is contained in:
Gustavo 2025-07-21 14:42:03 +10:00
parent 3d89d59d4d
commit db84caf1a7
2 changed files with 9 additions and 9 deletions

View file

@ -13,10 +13,11 @@ export default defineConfig([
}, },
extends: ["js/recommended"], extends: ["js/recommended"],
languageOptions: { globals: globals.node, ecmaVersion: "ES2015" }, languageOptions: { globals: globals.node, ecmaVersion: 2015 },
rules: { rules: {
"no-undef": "off", "no-undef": "off",
"no-unused-vars": "off", "no-unused-vars": "off",
"no-unexpected-multiline": "off",
"@stylistic/comma-style": [1, "last"], "@stylistic/comma-style": [1, "last"],
"@stylistic/brace-style": [1, "1tbs"], "@stylistic/brace-style": [1, "1tbs"],
"@stylistic/function-call-spacing": [1, "never"], "@stylistic/function-call-spacing": [1, "never"],

View file

@ -17,14 +17,13 @@
"alwaysStrict": true, "alwaysStrict": true,
"allowUnreachableCode": false, "allowUnreachableCode": false,
// Type checking options, only enable if probeJS installed // Type checking options, only disable if probeJS installed
"noCheck": true,
"noCheck": true "strict": true,
"noImplicitAny": true,
// "strict": true, "noImplicitReturns": true,
// "noImplicitAny": true, "noUnusedLocals": true,
// "noImplicitReturns": true, "noUnusedParameters": true
// "noUnusedLocals": true,
// "noUnusedParameters": true
} }
} }