Disallow `v-html`

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
Phillip Rak 2023-03-16 17:30:01 -07:00
parent 7cecbc0f62
commit 5d6f4a8433
2 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ module.exports = {
// Vue/HTML Formatting kept for HARVESTER ONLY!
// TODO: Move back here the HTML formatting
'vue/html-self-closing': 'off',
'vue/no-v-html': 'off',
'vue/no-v-html': 'error',
},
overrides: [
{
@ -194,7 +194,7 @@ module.exports = {
excludedFiles: ['pkg/harvester/**/*.vue'],
rules: {
// Vue/HTML Formatting
'vue/no-v-html': 'off',
'vue/no-v-html': 'error',
'vue/html-indent': ['error', 2],
'vue/html-closing-bracket-newline': ['error', {
singleline: 'never',

View File

@ -30,7 +30,7 @@ module.exports = {
'unicorn/no-new-buffer': 'off',
'vue/html-self-closing': 'off',
'vue/no-unused-components': 'warn',
'vue/no-v-html': 'on',
'vue/no-v-html': 'error',
'wrap-iife': 'off',
'array-bracket-spacing': 'warn',