Skip to content

Commit

Permalink
chore: adds Prettier
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
  • Loading branch information
pedrolamas committed Sep 12, 2023
1 parent 72fd20d commit 2c23ba4
Show file tree
Hide file tree
Showing 5 changed files with 816 additions and 2 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ trim_trailing_whitespace = true

[*.{js,jsx,ts,tsx,vue}]
indent_style = space
max_line_length = 100

[*.{md,markdown}]
max_line_length = 0
Expand Down
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ module.exports = {
'plugin:vue/recommended',
'eslint:recommended',
'@vue/standard',
'@vue/eslint-config-typescript/recommended'
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier',
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"htmlWhitespaceSensitivity": "ignore",
"singleAttributePerLine": true
}

0 comments on commit 2c23ba4

Please sign in to comment.