Skip to content

Commit

Permalink
build: prettier 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Sep 7, 2023
1 parent 93fc7b4 commit 3137fc1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"jest": true
},
"root": true,
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended", "prettier"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"parserOptions": {
Expand Down
7 changes: 7 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
semi: true
singleQuote: true
useTabs: false
tabWidth: 2
trailingComma: all
printWidth: 100
arrowParens: always
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
},
"dependencies": {
"typescript": "5.1.6",
"zod": "^3.22.2",
"@ts-rest/core": "^3.28.0"
"@ts-rest/core": "^3.28.0",
"zod": "^3.22.2"
},
"devDependencies": {
"@types/node": "18.16.1",
"rome": "^12.1.3"
"eslint-config-prettier": "^9.0.0",
"rome": "^12.1.3",
"typescript": "5.1.6"
}
}
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 3137fc1

Please sign in to comment.