UNPKG

@vortex.so/eslint-plugin

Version:

ESLint rules and configurations used by Vortex.

52 lines (51 loc) 1.14 kB
module.exports = { '@typescript-eslint/no-empty-interface': 0, '@typescript-eslint/no-unused-vars': [ 2, { args: 'all', argsIgnorePattern: '^_', }, ], '@typescript-eslint/semi': [2, 'never'], '@typescript-eslint/no-explicit-any': 0, '@typescript-eslint/explicit-module-boundary-types': 0, 'brace-style': 'off', 'comma-dangle': 'off', 'comma-spacing': 'off', 'eol-last': 'off', eqeqeq: 'off', indent: 'off', 'key-spacing': 'off', 'keyword-spacing': 'off', 'max-len': [ 2, { code: 80, ignoreComments: true, ignoreStrings: true, ignoreTemplateLiterals: true, ignoreTrailingComments: true, ignoreUrls: true, }, ], 'no-ex-assign': 'off', 'no-extra-boolean-cast': 'off', 'no-multi-spaces': 'off', 'no-throw-literal': 'off', 'no-unreachable': 'off', quotes: [ 2, 'single', { allowTemplateLiterals: true, avoidEscape: true, }, ], radix: 'off', 'space-before-function-paren': 'off', 'space-in-parens': 'off', 'space-infix-ops': 'off', 'space-unary-ops': 'off', 'spaced-comment': 'off', }