From 5da6fac8ccfacae8e28f4ee5d5cc74225e3da8d7 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 31 Oct 2016 02:01:37 -0700 Subject: [PATCH] [eslint config] [base] correct typo from a23a3efba9d1661e52cfa6894d620cee965ac090 --- packages/eslint-config-airbnb-base/rules/best-practices.js | 2 +- packages/eslint-config-airbnb-base/rules/style.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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