We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7651d4 commit 9f65b7dCopy full SHA for 9f65b7d
index.js
@@ -56,7 +56,7 @@ function formatMessage(message, parentResult) {
56
`${type}:`,
57
`${msg}`,
58
ruleId ? `${ruleId}` : "",
59
- sourceCode ? `at ${filePath}:` : `at ${filePath}`,
+ sourceCode ? `at ${filePath}:` : `at ${filePath}`
60
].filter(String).join(" ");
61
62
const result = [firstLine];
test.js
@@ -146,7 +146,7 @@ describe("formatter:codeframe", () => {
146
line: 1,
147
column: 7,
148
ruleId: "no-unused-vars"
149
- }],
+ }]
150
}];
151
152
it("should return a string with multiple entries", () => {
0 commit comments