Skip to content

Commit

Permalink
Turn off vue/singleline-html-element-content-newline to be compatible…
Browse files Browse the repository at this point in the history
… with Prettier (#151)

* Turn off vue/singleline-html-element-content-newline to be compatible with Prettier

* Update package-lock.json

* Update package.json
  • Loading branch information
tclindner committed Sep 4, 2020
1 parent 7cb6407 commit d52ad64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-vue-tc",
"version": "5.0.0",
"version": "5.0.1",
"description": "ESLint shareable config for Vue projects",
"keywords": [
"eslintconfig",
Expand Down
2 changes: 2 additions & 0 deletions rules/vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ module.exports = {
},
],
'vue/max-attributes-per-line': 'off',
// This is turned off for compatibility with Prettier
'vue/singleline-html-element-content-newline': 'off',
'vue/no-boolean-default': 'error',
// Add with v7 of eslint-plugin-vue when it is released.
// 'vue/no-custom-modifiers-on-v-model': 'error',
Expand Down

0 comments on commit d52ad64

Please sign in to comment.