You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3b413c0
Browse filesBrowse the repository at this point in the historyBrowse files
docs(code-style): match import organization to eslint config (#9238)
Since #8362 the import-x/order rule keeps all type-only imports in one
group between internal and relative imports, but the docs still said
they go at the end of each section. Update the list and the example to
match what ESLint actually enforces.
Copy file name to clipboardExpand all lines: docs/code-style.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,21 +197,29 @@ The repository includes a `.vscode` directory with recommended settings that wil
197
197
198
198
### Import Organization
199
199
200
-
Organize imports in this order:
200
+
Import order is enforced by the `import-x/order` rule in [`eslint.config.js`](../eslint.config.js), so `pnpm lint:fix` will sort your imports for you. Imports are grouped in this order, with an empty line between groups and alphabetical order within each group:
0 commit comments