Additional formatting configuration changes.
This commit is contained in:
parent
5f7bfdeb1a
commit
12891ceac6
@ -11,10 +11,10 @@
|
|||||||
"plugin:@typescript-eslint/eslint-recommended"
|
"plugin:@typescript-eslint/eslint-recommended"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"@typescript-eslint/no-explicit-any": "off",
|
|
||||||
"@typescript-eslint/no-empty-interface": "off",
|
|
||||||
"@typescript-eslint/no-namespace": "off",
|
"@typescript-eslint/no-namespace": "off",
|
||||||
"@typescript-eslint/no-unused-vars": "error",
|
"@typescript-eslint/no-empty-interface": "off",
|
||||||
|
"@typescript-eslint/no-explicit-any": "off", // We use a bunch of these.
|
||||||
|
"@typescript-eslint/no-unused-vars": "off", // Typescript compiler already checks--Will grey out variable.
|
||||||
"@typescript-eslint/no-var-requires": "error",
|
"@typescript-eslint/no-var-requires": "error",
|
||||||
"@typescript-eslint/explicit-module-boundary-types": ["error", { "allowArgumentsExplicitlyTypedAsAny": true }],
|
"@typescript-eslint/explicit-module-boundary-types": ["error", { "allowArgumentsExplicitlyTypedAsAny": true }],
|
||||||
"@typescript-eslint/naming-convention": ["error", {
|
"@typescript-eslint/naming-convention": ["error", {
|
||||||
@ -42,21 +42,21 @@
|
|||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
"overrides": [{
|
"overrides": [{
|
||||||
"files": [
|
|
||||||
"src/callbacks/**/*.js",
|
|
||||||
"src/controllers/**/*.js"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"no-unused-vars": "off",
|
|
||||||
"@typescript-eslint/no-unused-vars": "off"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"files": [
|
"files": [
|
||||||
"src/loaders/**/*.ts"
|
"src/loaders/**/*.ts"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-var-requires": "off",
|
|
||||||
"@typescript-eslint/no-var-requires": "off"
|
"@typescript-eslint/no-var-requires": "off"
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
"files": [
|
||||||
|
"**/vitest.config.ts"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"@typescript-eslint/naming-convention": ["error", {
|
||||||
|
"selector": "objectLiteralProperty",
|
||||||
|
"format": null
|
||||||
|
}]
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
3
project/.vscode/launch.json
vendored
3
project/.vscode/launch.json
vendored
@ -1,7 +1,4 @@
|
|||||||
{
|
{
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"EditorConfig.EditorConfig",
|
"EditorConfig.EditorConfig",
|
||||||
"dprint.dprint",
|
"dprint.dprint",
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"biomejs.biome"
|
"biomejs.biome",
|
||||||
|
"streetsidesoftware.code-spell-checker"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -19,6 +20,13 @@
|
|||||||
"editor.codeActionsOnSave": [
|
"editor.codeActionsOnSave": [
|
||||||
"source.fixAll.eslint",
|
"source.fixAll.eslint",
|
||||||
"source.organizeImports.biome"
|
"source.organizeImports.biome"
|
||||||
|
],
|
||||||
|
"cSpell.words": [
|
||||||
|
"deathmatch",
|
||||||
|
"gethideout",
|
||||||
|
"profileid",
|
||||||
|
"requestid",
|
||||||
|
"scavcase"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@
|
|||||||
"excludes": [
|
"excludes": [
|
||||||
"**/*.js",
|
"**/*.js",
|
||||||
"**/*.d.ts",
|
"**/*.d.ts",
|
||||||
"**/*.swcrc",
|
|
||||||
"**/*-lock.json",
|
"**/*-lock.json",
|
||||||
"**/.git/**/*",
|
"**/.git/**/*",
|
||||||
"**/node_modules/**/*",
|
"**/node_modules/**/*",
|
||||||
|
Loading…
Reference in New Issue
Block a user