diff --git a/packages/eslint-config-airbnb-base/rules/best-practices.js b/packages/eslint-config-airbnb-base/rules/best-practices.js index e2dd67dd..b7e3f606 100644 --- a/packages/eslint-config-airbnb-base/rules/best-practices.js +++ b/packages/eslint-config-airbnb-base/rules/best-practices.js @@ -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.', diff --git a/packages/eslint-config-airbnb-base/rules/style.js b/packages/eslint-config-airbnb-base/rules/style.js index f201d1ca..b3b0d623 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -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