Gets Biome and ESLint working for non-formatting linting.
This commit is contained in:
parent
fe614670b7
commit
5f7bfdeb1a
@ -18,9 +18,6 @@
|
|||||||
"@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", {
|
||||||
"selector": "import",
|
|
||||||
"format": ["camelCase", "PascalCase", "UPPER_CASE"]
|
|
||||||
}, {
|
|
||||||
"selector": "default",
|
"selector": "default",
|
||||||
"format": ["camelCase"],
|
"format": ["camelCase"],
|
||||||
"leadingUnderscore": "allow"
|
"leadingUnderscore": "allow"
|
||||||
@ -59,7 +56,7 @@
|
|||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-var-requires": "off",
|
"no-var-requires": "off",
|
||||||
"@typescript-eslint/no-var-requires": "off",
|
"@typescript-eslint/no-var-requires": "off"
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -7,9 +7,8 @@
|
|||||||
"extensions": {
|
"extensions": {
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"EditorConfig.EditorConfig",
|
"EditorConfig.EditorConfig",
|
||||||
"Jota0222.multi-formatter",
|
|
||||||
"dbaeumer.vscode-eslint",
|
|
||||||
"dprint.dprint",
|
"dprint.dprint",
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
"biomejs.biome"
|
"biomejs.biome"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -17,15 +16,9 @@
|
|||||||
"window.title": "SPT-AKI Server",
|
"window.title": "SPT-AKI Server",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.defaultFormatter": "dprint.dprint",
|
"editor.defaultFormatter": "dprint.dprint",
|
||||||
"multiFormatter.formatterList": [
|
"editor.codeActionsOnSave": [
|
||||||
"dprint.dprint",
|
"source.fixAll.eslint",
|
||||||
"biomejs.biome"
|
"source.organizeImports.biome"
|
||||||
],
|
]
|
||||||
"[typescript]": {
|
|
||||||
"editor.codeActionsOnSave": {
|
|
||||||
"quickfix.biome": false,
|
|
||||||
"source.organizeImports.biome": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user