UNPKG

eslint-config-kholoddev

Version:
57 lines (56 loc) 1.94 kB
/* eslint-disable quote-props */ module.exports = { 'semi': ['error', 'never'], 'array-element-newline': ['error', 'consistent'], 'quote-props': ['error', 'as-needed'], 'comma-dangle': ['error', 'always-multiline'], 'quotes': ['error', 'single'], 'function-call-argument-newline': ['error', 'consistent'], 'padded-blocks': ['error', 'never'], 'no-multiple-empty-lines': ['error', { 'max': 1 }], 'arrow-parens': ['error', 'as-needed'], 'space-before-function-paren': [ 'error', { 'anonymous': 'never', 'named': 'never', 'asyncArrow': 'always', }, ], 'max-statements': ['error', 100, { 'ignoreTopLevelFunctions': true }], 'dot-location': ['error', 'property'], 'newline-per-chained-call': ['error', { 'ignoreChainWithDepth': 2 }], 'max-len': [ 'error', { 'code': 100, 'tabWidth': 4, 'ignoreComments': true, 'ignoreTrailingComments': true, 'ignoreUrls': true, 'ignoreStrings': true, 'ignoreTemplateLiterals': true, 'ignoreRegExpLiterals': true, }, ], 'multiline-ternary': ['error', 'always-multiline'], 'object-curly-spacing': ['error', 'always'], 'object-property-newline': ['error', { 'allowAllPropertiesOnSameLine': true }], 'no-magic-numbers': 'off', 'id-length': 'off', 'sort-keys': 'off', 'one-var': 'off', 'func-style': 'off', 'strict': 'off', 'capitalized-comments': 'off', 'multiline-comment-style': 'off', 'no-implicit-globals': 'off', 'no-mixed-operators': 'off', 'no-ternary': 'off', 'no-plusplus': 'off', 'no-throw-literal': 'off', 'prefer-named-capture-group': 'off', 'require-unicode-regexp': 'off', 'default-param-last': 'off', 'no-lonely-if': 'off', 'init-declarations': 'off', 'prefer-destructuring': 'off', }