mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
style: remove importOrderSeparation from prettier config (#44336)
This commit is contained in:
parent
af301a9822
commit
80e1bc87bc
@ -1,6 +1,7 @@
|
|||||||
|
import React from 'react';
|
||||||
import type { IPreviewerProps } from 'dumi';
|
import type { IPreviewerProps } from 'dumi';
|
||||||
import { useTabMeta } from 'dumi';
|
import { useTabMeta } from 'dumi';
|
||||||
import React from 'react';
|
|
||||||
import CodePreviewer from './CodePreviewer';
|
import CodePreviewer from './CodePreviewer';
|
||||||
import DesignPreviewer from './DesignPreviewer';
|
import DesignPreviewer from './DesignPreviewer';
|
||||||
|
|
||||||
|
@ -4,10 +4,8 @@
|
|||||||
"trailingComma": "all",
|
"trailingComma": "all",
|
||||||
"printWidth": 100,
|
"printWidth": 100,
|
||||||
"proseWrap": "never",
|
"proseWrap": "never",
|
||||||
"importOrder": ["^(react|react-dom)$", "^([a-z]|@[a-z])", ".*"],
|
"importOrder": ["^(react|react-dom)$", "^([a-z]|@[a-z])", "", ".*"],
|
||||||
"importOrderSeparation": true,
|
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
||||||
"importOrderSortSpecifiers": true,
|
|
||||||
"plugins": ["@trivago/prettier-plugin-sort-imports"],
|
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": ".prettierrc",
|
"files": ".prettierrc",
|
||||||
|
@ -172,6 +172,7 @@
|
|||||||
"@dnd-kit/utilities": "^3.2.1",
|
"@dnd-kit/utilities": "^3.2.1",
|
||||||
"@emotion/react": "^11.10.4",
|
"@emotion/react": "^11.10.4",
|
||||||
"@emotion/server": "^11.4.0",
|
"@emotion/server": "^11.4.0",
|
||||||
|
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
|
||||||
"@qixian.cs/github-contributors-list": "^1.1.0",
|
"@qixian.cs/github-contributors-list": "^1.1.0",
|
||||||
"@size-limit/file": "^8.1.0",
|
"@size-limit/file": "^8.1.0",
|
||||||
"@stackblitz/sdk": "^1.3.0",
|
"@stackblitz/sdk": "^1.3.0",
|
||||||
@ -181,7 +182,6 @@
|
|||||||
"@testing-library/jest-dom": "^6.0.0",
|
"@testing-library/jest-dom": "^6.0.0",
|
||||||
"@testing-library/react": "^14.0.0",
|
"@testing-library/react": "^14.0.0",
|
||||||
"@testing-library/user-event": "^14.4.2",
|
"@testing-library/user-event": "^14.4.2",
|
||||||
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
|
|
||||||
"@types/fs-extra": "^11.0.1",
|
"@types/fs-extra": "^11.0.1",
|
||||||
"@types/gtag.js": "^0.0.13",
|
"@types/gtag.js": "^0.0.13",
|
||||||
"@types/http-server": "^0.12.1",
|
"@types/http-server": "^0.12.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user