Skip to content

Commit 5da6fac

Browse files
committed
[eslint config] [base] correct typo from a23a3ef
1 parent 9b649c8 commit 5da6fac

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/eslint-config-airbnb-base/rules/best-practices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ module.exports = {
179179
'no-restricted-properties': ['error', {
180180
object: 'arguments',
181181
property: 'callee',
182-
message: 'arguments.callee is deprecated,'
182+
message: 'arguments.callee is deprecated',
183183
}, {
184184
property: '__defineGetter__',
185185
message: 'Please use Object.defineProperty instead.',

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ module.exports = {
3535
// requires function names to match the name of the variable or property to which they are
3636
// assigned
3737
// http://eslint.org/docs/rules/func-name-matching
38-
'func-name-matching': ['off', {
39-
includeCommonJSModuleExports: false,
40-
nameMatches: 'always'
38+
'func-name-matching': ['off', 'always', {
39+
includeCommonJSModuleExports: false
4140
}],
4241

4342
// require function expressions to have a name

0 commit comments

Comments
 (0)