Skip to content

Commit

Permalink
fix(prettier): mv prettier.json to prettier.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bent10 committed Aug 27, 2024
1 parent f7d907f commit a88398e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
"path": "cz-conventional-changelog"
}
},
"prettier": "./prettier.json"
"prettier": "./prettier.config.js"
}
24 changes: 24 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
export default {
arrowParens: 'avoid',
jsxSingleQuote: true,
semi: false,
singleQuote: true,
tabWidth: 2,
trailingComma: 'none',
vueIndentScriptAndStyle: false,
overrides: [
{
files: ['*.html'],
options: {
singleQuote: false,
htmlWhitespaceSensitivity: 'css'
}
},
{
files: ['*.scss'],
options: {
singleQuote: false
}
}
]
}
25 changes: 0 additions & 25 deletions prettier.json

This file was deleted.

0 comments on commit a88398e

Please sign in to comment.