Skip to content

Commit

Permalink
feat: add prettier-plugin-organize-imports plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
alioguzhan committed Sep 11, 2023
1 parent c8f89b9 commit 5968051
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 4 deletions.
51 changes: 50 additions & 1 deletion package-lock.json

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

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 120
"printWidth": 120,
"plugins": [
"prettier-plugin-organize-imports"
]
},
"devDependencies": {
"prettier": "^2.8.8"
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.3"
}
}
6 changes: 5 additions & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-checker": "^0.6.2",
Expand All @@ -75,7 +76,10 @@
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 120
"printWidth": 120,
"plugins": [
"prettier-plugin-organize-imports"
]
},
"commitlint": {
"extends": [
Expand Down

0 comments on commit 5968051

Please sign in to comment.