Skip to content

Commit

Permalink
fix: conflicting vue indent and prettier
Browse files Browse the repository at this point in the history
Signed-off-by: diba1013 <diba1013@proton.me>
  • Loading branch information
diba1013 committed Jul 14, 2024
1 parent 949b6ec commit 8ad87db
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/eslint-config/src/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,14 @@ export function defineConfig({
parser: typescript.parser,
},
},

rules: {
/**
* Synchronize indent with prettier configuration.
* https://eslint.vuejs.org/rules/html-indent.html
*/
"vue/html-indent": ["warn", "tab"],
},
},
}),
// Allow overwrites
Expand Down

0 comments on commit 8ad87db

Please sign in to comment.