This repository has been archived by the owner on Jun 20, 2019. It is now read-only.
Add comma-dangle
eslint rule for trailing commas
#79
Labels
Milestone
Via WordPress/gutenberg#612 and WordPress/gutenberg#741
Rule: http://eslint.org/docs/rules/comma-dangle
Rule configuration suggestion:
'comma-dangle': ['error', 'always-multiline'],
WordPress JavaScript Coding Standards docs that will need to be updated:
• See https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#objects
• See https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#arrays-and-function-calls
• See https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#examples-of-good-spacing
• See https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#underscore-js-collection-functions
Previously: e911437
The text was updated successfully, but these errors were encountered: