Skip to content

Commit

Permalink
add prettier config
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 committed Feb 29, 2024
1 parent 9cdd58b commit dd6943a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.github
.husky
.vscode
dist
lib
node_modules
scripts
package-lock.json
3 changes: 3 additions & 0 deletions .vscode/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// Standardize on the Prettier formatter
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Enforce prettier on save
"editor.formatOnSave": true,
"npm.packageManager": "npm",
"eslint.packageManager": "npm"
}
1 change: 1 addition & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { printWidth: 150 };

0 comments on commit dd6943a

Please sign in to comment.