Comments (2)
The way I implemented it with ESLint is true = always and false = never. But it can be extended to use (or not use) against arrays, objects, functions, etc. See https://eslint.org/docs/rules/comma-dangle.
Maybe a simple boolean isn't the right data type for trailing comma?
from beautifier-prettier.
Maybe a simple boolean isn't the right data type for trailing comma?
I think you may be correct. This is going to require some changes 🔥.
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
- Can we use prettier plugins (such as https://github.com/prettier/plugin-ruby) HOT 3
- Dependency Dashboard
- Add Semicolons option 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.