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"],
languageOptions: { globals: globals.node, ecmaVersion: "ES2015" },
languageOptions: { globals: globals.node, ecmaVersion: 2015 },
rules: {
"no-undef": "off",
"no-unused-vars": "off",
"no-unexpected-multiline": "off",
"@stylistic/comma-style": [1, "last"],
"@stylistic/brace-style": [1, "1tbs"],
"@stylistic/function-call-spacing": [1, "never"],

View file

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