Skip to content

Commit 19c07c2

Browse files
committed
Fixing linting
1 parent 2464516 commit 19c07c2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
"overrides": [
88
{
99
"files": ["lib/rules/*.{js,ts}"],
10-
"extends": ["plugin:eslint-plugin/rules-recommended"]
10+
"extends": ["plugin:eslint-plugin/rules-recommended"],
11+
"rules": {
12+
"eslint-plugin/prefer-message-ids": "off" // Messages come straight from Komaci.
13+
}
1114
}
1215
],
1316
"env": {

test/lib/rules/no-call-expression-references-unsupported-namespace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ruleTester.run(
5252
filename: 'lwc-code.js', // Komaci needs a fake filename to be provided from RuleTester or otherwise it fails to run
5353
errors: [
5454
{
55-
message: `Call expression contains reference to an unsupported namespace \'testFunction\'`
55+
message: `Call expression contains reference to an unsupported namespace 'testFunction'`
5656
}
5757
]
5858
}

0 commit comments

Comments
 (0)