Comments (3)
Hi @khuongduybui, it doesn't support it yet, but it can be done. It would be similar to what we did with https://github.com/Unibeautify/beautifier-eslint and eslint-plugin-react. I moved it to this repo because that's where the relevant change would be.
from beautifier-prettier.
Anything I can do to help speed things up?
from beautifier-prettier.
@khuongduybui Pull Requests welcome!
Similar code from beautifier-eslint
:
- https://github.com/Unibeautify/beautifier-eslint/blob/master/src/index.ts#L26-L30
- https://github.com/Unibeautify/beautifier-eslint/blob/master/src/index.ts#L61-L63
- https://github.com/Unibeautify/beautifier-eslint/blob/master/src/index.ts#L81-L83
- https://prettier.io/docs/en/plugins.html
Plugins will be optional. If they are installed and found then they are used. If the plugin is not available then everything should continue without it, and not support the related languages/options added by the plugin.
Let me know if you have any questions!
from beautifier-prettier.
Related Issues (20)
- Add Prose Wrap option HOT 2
- Editor settings UI HOT 3
- Prettier formats lists wrong HOT 4
- Support YAML HOT 3
- Support HTML HOT 5
- Support YAML
- Dependency Dashboard
- Add Semicolons option HOT 2
- How to use `trailingComma: "all"`? HOT 2
- Add dependencies property to beautifier
- Add Quotes option HOT 1
- Version 10 of node.js has been released
- Add Trailing Commas HOT 1
- Add Bracket Spacing option HOT 2
- Add JSX Brackets option HOT 1
- Add Arrow Function Parentheses option HOT 2
- Add Require Pragma option HOT 1
- Add Insert Pragma option HOT 1
- Remove options which are not actually supported by language
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 beautifier-prettier.