Skip to content

Commit d52ad64

Browse files
authored
Turn off vue/singleline-html-element-content-newline to be compatible with Prettier (#151)
* Turn off vue/singleline-html-element-content-newline to be compatible with Prettier * Update package-lock.json * Update package.json
1 parent 7cb6407 commit d52ad64

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-vue-tc",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"description": "ESLint shareable config for Vue projects",
55
"keywords": [
66
"eslintconfig",

rules/vue.js

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ module.exports = {
2525
},
2626
],
2727
'vue/max-attributes-per-line': 'off',
28+
// This is turned off for compatibility with Prettier
29+
'vue/singleline-html-element-content-newline': 'off',
2830
'vue/no-boolean-default': 'error',
2931
// Add with v7 of eslint-plugin-vue when it is released.
3032
// 'vue/no-custom-modifiers-on-v-model': 'error',

0 commit comments

Comments
 (0)