mirror of https://github.com/rancher/dashboard.git
Disallow `v-html`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
parent
7cecbc0f62
commit
5d6f4a8433
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue