Skip to content

Commit 9f65b7d

Browse files
not-an-aardvarkkaicataldo
authored andcommitted
Chore: Enable comma-dangle on ESLint codebase (fixes #7725) (#7906)
1 parent b7651d4 commit 9f65b7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function formatMessage(message, parentResult) {
5656
`${type}:`,
5757
`${msg}`,
5858
ruleId ? `${ruleId}` : "",
59-
sourceCode ? `at ${filePath}:` : `at ${filePath}`,
59+
sourceCode ? `at ${filePath}:` : `at ${filePath}`
6060
].filter(String).join(" ");
6161

6262
const result = [firstLine];

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe("formatter:codeframe", () => {
146146
line: 1,
147147
column: 7,
148148
ruleId: "no-unused-vars"
149-
}],
149+
}]
150150
}];
151151

152152
it("should return a string with multiple entries", () => {

0 commit comments

Comments
 (0)