eslint-config/packages/vue/index.js
2019-07-19 15:53:07 +08:00

17 lines
303 B
JavaScript

module.exports = {
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
extends: [
'plugin:vue/recommended',
'@antfu/eslint-config-ts',
],
plugins: [
'vue'
],
rules: {
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
}
}