Changeset View
Changeset View
Standalone View
Standalone View
src/.eslintrc.js
module.exports = { | module.exports = { | ||||
extends: [ | extends: [ | ||||
// add more generic rulesets here, such as: | // add more generic rulesets here, such as: | ||||
// 'eslint:recommended', | // 'eslint:recommended', | ||||
'plugin:vue/recommended' | 'plugin:vue/recommended' | ||||
], | ], | ||||
parserOptions: { | parserOptions: { | ||||
parser: "@babel/eslint-parser", | parser: "@babel/eslint-parser", | ||||
requireConfigFile: false | requireConfigFile: false | ||||
}, | }, | ||||
rules: { | rules: { | ||||
"vue/attributes-order": "off", | "vue/attributes-order": "off", | ||||
"vue/html-indent": ["error", 4], | "vue/html-indent": ["error", 4], | ||||
"vue/html-self-closing": "off", | "vue/html-self-closing": "off", | ||||
"vue/max-attributes-per-line": "off", | "vue/max-attributes-per-line": "off", | ||||
"vue/no-unused-components": "off", | |||||
"vue/no-v-html": "off", | "vue/no-v-html": "off", | ||||
"vue/singleline-html-element-content-newline": "off", | "vue/singleline-html-element-content-newline": "off", | ||||
"vue/multiline-html-element-content-newline": "off" | "vue/multiline-html-element-content-newline": "off" | ||||
} | } | ||||
} | } |