Browse Source

Merge pull request 'test' (#38) from test into master

Reviewed-on: common/base_daoshi_vue_ts#38
master
姜鑫 3 years ago
parent
commit
1340bd4746
  1. 21
      .eslintrc.js

21
.eslintrc.js

@ -25,6 +25,27 @@ module.exports = {
plugins: ['vue', '@typescript-eslint', 'prettier'],
rules: {
'no-undef': 'off',
'vue/attributes-order': [
'error',
{
order: [
'DEFINITION',
'LIST_RENDERING',
'CONDITIONALS',
'RENDER_MODIFIERS',
'GLOBAL',
['UNIQUE', 'SLOT'],
'TWO_WAY_BINDING',
'OTHER_DIRECTIVES',
'OTHER_ATTR',
'EVENTS',
'CONTENT'
],
alphabetical: false
}
],
'vue/no-watch-after-await': 'error',
'vue/attribute-hyphenation': ['error', 'always'],
'vue/multi-word-component-names': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/no-unused-vars': 'warn',

Loading…
Cancel
Save