Comments (4)
Works!
Thnkas @byara
from prettier-plugin-sort-imports.
Hey @wityan , thanks for reporting this. We still support flow but you only have to use flow
in your .prettierrc
file.
Hope this helps.
from prettier-plugin-sort-imports.
@byara so you mean by using experimentalBabelParserPluginsList: ["flow"] ?
from prettier-plugin-sort-imports.
Not really, just the following in your rc file ("parser": "flow"):
{
"parser": "flow",
"printWidth": 80,
"tabWidth": 4,
"trailingComma": "all",
"singleQuote": true,
"jsxBracketSameLine": true,
"semi": true,
"importOrder": ["^common/(.*)$", "^test/(.*)$"],
"importOrderSeparation": true
}
from prettier-plugin-sort-imports.
Related Issues (20)
- Prettier v3 throws warning "Ignored unknown option" for `importOrder` / `importOrderSeparation` HOT 1
- Prettier > 3 doesn't work HOT 10
- Unnecessary removal of `$$()` when using Vue Reactivity Transform macros HOT 1
- Add new line between each import
- prettier-plugin-sort-imports with prettier >=3 HOT 7
- Error formatting using VSCode when using vue-property-decorator in Vue file. HOT 1
- The plugins doesn't work for vue files for me. HOT 2
- Add option to disable import sorting (for monorepo) HOT 1
- Donβt multi-line imports
- Merge same-origin imports
- CVE-2023-45133 HOT 2
- Typescript typecasting generic function reports missing semicolon
- Replace importOrderSeparation with <SEPARATOR> HOT 2
- Package is "broken" on `npm` HOT 1
- Package breaks when using import assertions HOT 7
- Format Selection can throw syntax errors
- Introduce a `<SIDE_EFFECT_IMPORTS>` tag
- SyntaxError: Unexpected closing tag "script" Vue-3 HOT 4
- SyntaxError: Unexpected token (React native & typescript) HOT 1
- I'm getting the `SyntaxError: Unexpected token, expected "}" (73:6)` error when formatting a `*.spec.ts` file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettier-plugin-sort-imports.