Skip to content

Commit

Permalink
fix: vue rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Jul 21, 2024
1 parent b78838b commit 98833a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cfg/eslint-vue-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ module.exports = {
'vue/v-for-delimiter-style': [2, 'of'],
'vue/valid-define-options': 2,
'vue/eqeqeq': 2,
'vue/require-explicit-emits': 2,
'vue/require-prop-types': 2,
},
}
1 change: 1 addition & 0 deletions cfg/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = [
parserOptions: {
project: 'tsconfig.json',
parser: tseslint.parser,
extraFileExtensions: ['.vue', '.html'],
},
},
plugins: getConfig().plugins,
Expand Down
4 changes: 2 additions & 2 deletions src/test/cfg/eslint.config.dump.json
Original file line number Diff line number Diff line change
Expand Up @@ -2051,7 +2051,7 @@
2
],
"vue/require-explicit-emits": [
1
2
],
"vue/require-expose": [
2
Expand All @@ -2063,7 +2063,7 @@
2
],
"vue/require-prop-types": [
1
2
],
"vue/require-render-return": [
2
Expand Down

0 comments on commit 98833a6

Please sign in to comment.