diff --git a/.eslintrc.js b/.eslintrc.js index d3bfa24c05..0802a14f1b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -114,7 +114,9 @@ module.exports = { }], 'comma-style': [2, 'last'], // http://eslint.org/docs/rules/comma-style 'eol-last': 2, // http://eslint.org/docs/rules/eol-last - 'func-names': 1, // http://eslint.org/docs/rules/func-names + 'func-names': [ + 1, 'as-needed' + ], // http://eslint.org/docs/rules/func-names 'key-spacing': [2, { // http://eslint.org/docs/rules/key-spacing 'beforeColon': false, 'afterColon': true