Gets Biome and ESLint working for non-formatting linting.

This commit is contained in:
Refringe 2023-11-10 13:25:58 -05:00
parent fe614670b7
commit 5f7bfdeb1a
No known key found for this signature in database
GPG Key ID: 64E03E5F892C6F9E
2 changed files with 6 additions and 16 deletions

View File

@ -18,9 +18,6 @@
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/explicit-module-boundary-types": ["error", { "allowArgumentsExplicitlyTypedAsAny": true }],
"@typescript-eslint/naming-convention": ["error", {
"selector": "import",
"format": ["camelCase", "PascalCase", "UPPER_CASE"]
}, {
"selector": "default",
"format": ["camelCase"],
"leadingUnderscore": "allow"
@ -59,7 +56,7 @@
],
"rules": {
"no-var-requires": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-var-requires": "off"
}
}]
}

View File

@ -7,9 +7,8 @@
"extensions": {
"recommendations": [
"EditorConfig.EditorConfig",
"Jota0222.multi-formatter",
"dbaeumer.vscode-eslint",
"dprint.dprint",
"dbaeumer.vscode-eslint",
"biomejs.biome"
]
},
@ -17,15 +16,9 @@
"window.title": "SPT-AKI Server",
"editor.formatOnSave": true,
"editor.defaultFormatter": "dprint.dprint",
"multiFormatter.formatterList": [
"dprint.dprint",
"biomejs.biome"
],
"[typescript]": {
"editor.codeActionsOnSave": {
"quickfix.biome": false,
"source.organizeImports.biome": true
}
}
"editor.codeActionsOnSave": [
"source.fixAll.eslint",
"source.organizeImports.biome"
]
}
}