Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Playground Link
Repro Code
['value', 'value2',]
ESLint Config
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"array-bracket-spacing": "error",
"@typescript-eslint/comma-spacing": "error"
}
};
tsconfig
No response
Expected Result
[comma-spacing] should not throw an error, as there should not be a space between a trailing comma in an array and the closing "]" bracket.
Actual Result
[comma-spacing] throws an error, "A space is required after ','".
Additional Info
This issue was fixed in ESLint's [comma-spacing] rule here: eslint/eslint#16113.
Metadata
Metadata
Assignees
Labels
Go ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issueSomething isn't workingSomething isn't workingRelated to whitespace/bracket formatting. We strongly recommend you use a formatter instead.Related to whitespace/bracket formatting. We strongly recommend you use a formatter instead.Issues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin