Skip to content

Commit ded3667

Browse files
committed
add in organized imports
1 parent abae061 commit ded3667

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.pre-commit-config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ repos:
1010
rev: v4.0.0-alpha.4
1111
hooks:
1212
- id: prettier
13+
additional_dependencies:
14+
- prettier@3.1.1
15+
- prettier-plugin-organize-imports
1316
- repo: local
1417
hooks:
1518
- id: black-with-tabs

.prettierrc

+2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2+
"$schema": "http://json.schemastore.org/prettierrc",
23
"endOfLine": "lf",
34
"semi": true,
45
"singleQuote": true,
56
"tabWidth": 2,
67
"useTabs": false,
78
"trailingComma": "es5",
89
"arrowParens": "avoid",
10+
"plugins": ["prettier-plugin-organize-imports"],
911
"overrides": [
1012
{
1113
"files": "*.md",

0 commit comments

Comments
 (0)