v-html' directive can lead to XSS attack vue/no-v-html code example
Example: eslint ignore v-html
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'@nuxtjs',
'plugin:nuxt/recommended'
],
// add your custom rules here
rules: {
'nuxt/no-cjs-in-config': 'off',
'vue/no-v-html': 0,
'no-console': 0
}
}