Skip to content

Commit

Permalink
add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Manaf941 committed May 10, 2024
1 parent 051485d commit 475260c
Show file tree
Hide file tree
Showing 37 changed files with 507 additions and 469 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"printWidth": 100,
"tabWidth": 4,
"useTabs": false,
"semi": false,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"proseWrap": "preserve"
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"dev": "tsc --watch",
"lint": "pnpm lint:base",
"lint:base": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "pnpm lint:base --fix"
"lint:fix": "pnpm lint:base --fix",
"format": "prettier -wc src"
},
"author": "JeanOUINA",
"license": "UNLICENSED",
Expand All @@ -23,6 +24,7 @@
"eslint": "^8.54.0",
"jest": "^29.7.0",
"modernlog": "^1.1.0",
"prettier": "^3.2.5",
"typed-emitter": "^2.1.0",
"typescript": "^5.2.2"
},
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 475260c

Please sign in to comment.