Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upComma-dangle: only-multiline does not report dangling comma after rest parameters #804
Comments
|
Since that is a syntax error, it's a Bug with The good news is that it has been fixed a few days ago in v7.6.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
babel-eslint: v8.2.6
ESLint version: v6.5.1
Node version: v12.11.1
npm version: v6.11.3
ESLint config
Code example
Expected to happen
The comma after
...propsshould be handled as an errorUnexpected trailing commaas it does foralways-multilinesetting.What happened
With
only-multilinesetting the code passes without an error.Originally the issue has been opened in eslint repository (eslint/eslint#12435), but they say it should be in this repository.