Skip to content

Commit

Permalink
chore: add prettierrc
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Jul 23, 2023
1 parent dd6c99d commit 4a3a260
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 33 deletions.
13 changes: 13 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** @type {import('prettier').Options} */
const config = {
jsxSingleQuote: true,
printWidth: 100,
proseWrap: 'never',
semi: false,
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
useTabs: false,
};

module.exports = config;
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"*": "eslint --fix"
},
"dependencies": {
"fast-glob": "^3.3.0"
"fast-glob": "^3.3.0",
"prettier": "^3.0.0"
}
}
Loading

0 comments on commit 4a3a260

Please sign in to comment.