more config

This commit is contained in:
Timo Hocker 2019-12-19 14:38:35 +01:00
parent 684f42dd8c
commit 6f44cacebd

View File

@ -125,13 +125,13 @@ module.exports = {
'computed-property-spacing': ['error', 'never'], 'computed-property-spacing': ['error', 'never'],
'consistent-this': 'error', 'consistent-this': 'error',
'eol-last': '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-call-spacing': ['error', 'always'],
'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-name-matching': ['error', 'always'],
'func-names': null, // https://eslint.org/docs/rules/func-names // require or disallow named `function` expressions 'func-names': ['error', 'always'],
'func-style': null, // https://eslint.org/docs/rules/func-style // enforce the consistent use of either `function` declarations or expressions 'func-style': ['error', 'declaration', { allowArrowFunctions: false }],
'function-call-argument-newline': null, // https://eslint.org/docs/rules/function-call-argument-newline // enforce line breaks between arguments of a function call 'function-call-argument-newline': ['error', 'consistent'],
'function-paren-newline': null, // https://eslint.org/docs/rules/function-paren-newline // enforce consistent line breaks inside function parentheses 'function-paren-newline': ['error', 'multiline-arguments'],
'id-blacklist': null, // https://eslint.org/docs/rules/id-blacklist // disallow specified identifiers 'id-blacklist': 'off',
'id-length': null, // https://eslint.org/docs/rules/id-length // enforce minimum and maximum identifier lengths '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 '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 'implicit-arrow-linebreak': null, // https://eslint.org/docs/rules/implicit-arrow-linebreak // enforce the location of arrow function bodies