update tsconfig
This commit is contained in:
parent
3d89d59d4d
commit
db84caf1a7
2 changed files with 9 additions and 9 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -17,14 +17,13 @@
|
|||
"alwaysStrict": true,
|
||||
"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,
|
||||
// "noImplicitReturns": true,
|
||||
// "noUnusedLocals": true,
|
||||
// "noUnusedParameters": true
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue