Skip to content

Commit

Permalink
fix: make message prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Jan 2, 2023
1 parent a33b94b commit a37bd31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eufemia/eslint-plugin",
"version": "1.0.1",
"version": "1.0.2",
"description": "ESLint rules for DNB Eufemia",
"keywords": [
"eslint",
Expand Down
4 changes: 2 additions & 2 deletions src/rules/calc-arguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
if (type.value.includes(' ')) {
context.report({
node: type,
message: 'Use function arguments instead of whitespaces',
message: 'Use function arguments instead of whitespaces.',
})
break
}
Expand All @@ -37,7 +37,7 @@ export default {
if (orderIndex > typeIndex) {
context.report({
node: type,
message: `"${type.value}" should come before ${prev.value}`,
message: `\`${type.value}\` should come before \`${prev.value}\`.`,
})
}
}
Expand Down

0 comments on commit a37bd31

Please sign in to comment.