Additional formatting configuration changes.

This commit is contained in:
Refringe 2023-11-10 15:16:21 -05:00
parent 5f7bfdeb1a
commit 12891ceac6
No known key found for this signature in database
GPG Key ID: 64E03E5F892C6F9E
4 changed files with 22 additions and 18 deletions

View File

@ -11,10 +11,10 @@
"plugin:@typescript-eslint/eslint-recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-interface": "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/explicit-module-boundary-types": ["error", { "allowArgumentsExplicitlyTypedAsAny": true }],
"@typescript-eslint/naming-convention": ["error", {
@ -42,21 +42,21 @@
}]
},
"overrides": [{
"files": [
"src/callbacks/**/*.js",
"src/controllers/**/*.js"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off"
}
}, {
"files": [
"src/loaders/**/*.ts"
],
"rules": {
"no-var-requires": "off",
"@typescript-eslint/no-var-requires": "off"
}
}, {
"files": [
"**/vitest.config.ts"
],
"rules": {
"@typescript-eslint/naming-convention": ["error", {
"selector": "objectLiteralProperty",
"format": null
}]
}
}]
}

View File

@ -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",
"configurations": [
{

View File

@ -9,7 +9,8 @@
"EditorConfig.EditorConfig",
"dprint.dprint",
"dbaeumer.vscode-eslint",
"biomejs.biome"
"biomejs.biome",
"streetsidesoftware.code-spell-checker"
]
},
"settings": {
@ -19,6 +20,13 @@
"editor.codeActionsOnSave": [
"source.fixAll.eslint",
"source.organizeImports.biome"
],
"cSpell.words": [
"deathmatch",
"gethideout",
"profileid",
"requestid",
"scavcase"
]
}
}

View File

@ -63,7 +63,6 @@
"excludes": [
"**/*.js",
"**/*.d.ts",
"**/*.swcrc",
"**/*-lock.json",
"**/.git/**/*",
"**/node_modules/**/*",