Skip to content

Commit

Permalink
feat: update Prettier config (#7)
Browse files Browse the repository at this point in the history
* feat: update Prettier config

* chore: rename
  • Loading branch information
donniean authored Jul 19, 2024
1 parent f3e03fb commit d1552a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 29 deletions.
5 changes: 5 additions & 0 deletions .changeset/strange-pandas-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-config-kubesphere': patch
---

feat: update Prettier config
34 changes: 5 additions & 29 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,6 @@
module.exports = {
"arrowParens": "avoid",
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"semi": true,
"useTabs": false,
"parser": "typescript",
"jsxBracketSameLine": false,
"overrides": [
{
"files": "*.jsx?",
"options": { "parser": "babel" }
},
{
"files": "*.scss",
"options": { "parser": "scss" }
},
{
"files": "*.json",
"options": { "parser": "json" }
},
{
"files": "*.md",
"options": { "parser": "markdown" }
}
]
}
printWidth: 100,
singleQuote: true,
trailingComma: 'all',
arrowParens: 'always',
};

0 comments on commit d1552a1

Please sign in to comment.