[eslint config] [base] correct typo from a23a3efba9

This commit is contained in:
Jordan Harband
2016-10-31 02:01:37 -07:00
parent 9b649c843f
commit 5da6fac8cc
2 changed files with 3 additions and 4 deletions

View File

@@ -179,7 +179,7 @@ module.exports = {
'no-restricted-properties': ['error', {
object: 'arguments',
property: 'callee',
message: 'arguments.callee is deprecated,'
message: 'arguments.callee is deprecated',
}, {
property: '__defineGetter__',
message: 'Please use Object.defineProperty instead.',

View File

@@ -35,9 +35,8 @@ module.exports = {
// requires function names to match the name of the variable or property to which they are
// assigned
// http://eslint.org/docs/rules/func-name-matching
'func-name-matching': ['off', {
includeCommonJSModuleExports: false,
nameMatches: 'always'
'func-name-matching': ['off', 'always', {
includeCommonJSModuleExports: false
}],
// require function expressions to have a name