From 46b1187a05cb40e3eaff81ba508c3ea4e1d28758 Mon Sep 17 00:00:00 2001 From: DigitalBrainJS Date: Sun, 20 Feb 2022 18:30:30 +0200 Subject: [PATCH] Changed `func-names` eslint rule to `as-needed`; --- .eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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