From 6f44cacebd6b6893b94def6a902d924bbd789780 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 19 Dec 2019 14:38:35 +0100 Subject: [PATCH] more config --- index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index ee38e6a..c49c3e5 100644 --- a/index.js +++ b/index.js @@ -125,13 +125,13 @@ module.exports = { 'computed-property-spacing': ['error', 'never'], 'consistent-this': 'error', 'eol-last': 'error', - 'func-call-spacing': null, // https://eslint.org/docs/rules/func-call-spacing // require or disallow spacing between function identifiers and their invocations - 'func-name-matching': null, // https://eslint.org/docs/rules/func-name-matching // require function names to match the name of the variable or property to which they are assigned - 'func-names': null, // https://eslint.org/docs/rules/func-names // require or disallow named `function` expressions - 'func-style': null, // https://eslint.org/docs/rules/func-style // enforce the consistent use of either `function` declarations or expressions - 'function-call-argument-newline': null, // https://eslint.org/docs/rules/function-call-argument-newline // enforce line breaks between arguments of a function call - 'function-paren-newline': null, // https://eslint.org/docs/rules/function-paren-newline // enforce consistent line breaks inside function parentheses - 'id-blacklist': null, // https://eslint.org/docs/rules/id-blacklist // disallow specified identifiers + 'func-call-spacing': ['error', 'always'], + 'func-name-matching': ['error', 'always'], + 'func-names': ['error', 'always'], + 'func-style': ['error', 'declaration', { allowArrowFunctions: false }], + 'function-call-argument-newline': ['error', 'consistent'], + 'function-paren-newline': ['error', 'multiline-arguments'], + 'id-blacklist': 'off', 'id-length': null, // https://eslint.org/docs/rules/id-length // enforce minimum and maximum identifier lengths 'id-match': null, // https://eslint.org/docs/rules/id-match // require identifiers to match a specified regular expression 'implicit-arrow-linebreak': null, // https://eslint.org/docs/rules/implicit-arrow-linebreak // enforce the location of arrow function bodies