eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
24 lines (15 loc) ⢠565 B
Markdown
# Trailing commas should be used (`sonarjs/enforce-trailing-comma`)
ā This rule is deprecated.
š« This rule is _disabled_ in the ā
`recommended` config.
š§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
<!-- end auto-generated rule header -->
## Options
<!-- begin auto-generated rule options list -->
| Name |
| :---------- |
| `arrays` |
| `exports` |
| `functions` |
| `imports` |
| `objects` |
<!-- end auto-generated rule options list -->