eslint-config-evil-vue
Version:
eslint-config-hardcore inspired ultra strict VueJS compatible ESLint config
35 lines • 1.47 kB
JavaScript
module.exports = {
extends: ["plugin:vue/recommended"],
rules: {
"vue/html-indent": ["error", 4],
"vue/padding-line-between-blocks": ["error", "always"],
"vue/attributes-order": "error",
"vue/component-tags-order": "error",
"vue/no-lone-template": "error",
"vue/no-multiple-slot-args": "error",
"vue/no-v-html": "error",
"vue/order-in-components": "error",
"vue/this-in-template": "error",
"vue/attribute-hyphenation": "error",
"vue/component-definition-name-casing": "error",
"vue/html-closing-bracket-newline": "error",
"vue/html-closing-bracket-spacing": "error",
"vue/html-end-tags": "error",
"vue/html-quotes": "error",
"vue/html-self-closing": "error",
"vue/max-attributes-per-line": "error",
"vue/multiline-html-element-content-newline": "error",
"vue/mustache-interpolation-spacing": "error",
"vue/no-multi-spaces": "error",
"vue/no-spaces-around-equal-signs-in-attribute": "error",
"vue/no-template-shadow": "error",
"vue/one-component-per-file": "error",
"vue/prop-name-casing": "error",
"vue/require-default-prop": "error",
"vue/require-prop-types": "error",
"vue/singleline-html-element-content-newline": "error",
"vue/v-bind-style": "error",
"vue/v-on-style": "error",
"vue/v-slot-style": "error",
}
}