Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Remove trailing commas + rules. #940

Merged
merged 1 commit into from
Oct 25, 2017
Merged

Conversation

ryan-roemer
Copy link
Member

Trailing commas add no "value" for correctness, and their absence is "always correct" for thing like older version of Node. Now that we actually lint all our JS files in Radium, it is easier to just remove trailing commas in lint than have different lint for transpiled src vs. "real node" root *.js files like webpack configs, etc.

Fixes #932

/cc @alexlande

@alexlande
Copy link
Contributor

👍 🚢 :shipit:

@coveralls
Copy link

coveralls commented Oct 25, 2017

Coverage Status

Coverage remained the same at 94.006% when pulling 9b8f6e8 on chore/no-trailing-commas into 95e7a4d on master.

@ryan-roemer ryan-roemer merged commit baa0ccc into master Oct 25, 2017
@ryan-roemer ryan-roemer deleted the chore/no-trailing-commas branch October 25, 2017 20:26
jaredbrookswhite pushed a commit to jaredbrookswhite/radium that referenced this pull request Aug 22, 2018
…abs#940)

Trailing commas add no "value" for correctness, and their absence is "always correct" for thing like older version of Node. Now that we actually lint all our JS files in Radium, it is easier to just remove trailing commas in lint than have different lint for transpiled src vs. "real node" root *.js files like webpack configs, etc.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants