mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
Disallow v-html in the Tool Shed frontend
Same rule the client has, so new markup bindings go through v-sanitize-html instead of slipping back in.
This commit is contained in:
@@ -28,6 +28,8 @@ export default defineConfig(
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"vue/require-default-prop": "error",
|
||||
"vue/v-slot-style": "error",
|
||||
// Markup goes through v-sanitize-html (DOMPurify) instead.
|
||||
"vue/no-v-html": "error",
|
||||
// In typescript-eslint's recommended set before v8; kept so these still show up.
|
||||
"@typescript-eslint/adjacent-overload-signatures": "error",
|
||||
"@typescript-eslint/no-empty-function": "error",
|
||||
|
||||
Reference in New Issue
Block a user