UNPKG

eslint-config-evil-vue

Version:

eslint-config-hardcore inspired ultra strict VueJS compatible ESLint config

63 lines 2.88 kB
module.exports = { plugins: ["regexp"], rules: { "regexp/match-any": "error", "regexp/no-empty-capturing-group": "error", "regexp/no-dupe-characters-character-class": "error", "regexp/no-empty-group": "error", "regexp/no-empty-lookarounds-assertion": "error", "regexp/no-escape-backspace": "error", "regexp/no-invisible-character": "error", "regexp/no-octal": "error", "regexp/no-useless-exactly-quantifier": "error", "regexp/no-useless-two-nums-quantifier": "error", "regexp/prefer-d": "error", "regexp/prefer-plus-quantifier": "error", "regexp/prefer-question-quantifier": "error", "regexp/prefer-star-quantifier": "error", "regexp/prefer-t": "error", "regexp/prefer-w": "error", "regexp/prefer-quantifier": "error", "regexp/no-useless-character-class": "error", "regexp/no-useless-lazy": "error", "regexp/prefer-regexp-exec": "error", "regexp/prefer-regexp-test": "error", "regexp/prefer-unicode-codepoint-escapes": "error", "regexp/letter-case": "error", "regexp/no-useless-range": "error", "regexp/prefer-range": "error", "regexp/prefer-character-class": "error", "regexp/no-useless-non-capturing-group": "error", "regexp/no-useless-escape": "error", "regexp/negation": "error", "regexp/no-legacy-features": "error", "regexp/no-useless-dollar-replacements": "error", "regexp/prefer-escape-replacement-dollar-char": "error", "regexp/no-unused-capturing-group": "error", "regexp/confusing-quantifier": "error", "regexp/no-empty-alternative": "error", "regexp/no-lazy-ends": "error", "regexp/optimal-lookaround-quantifier": "error", "regexp/no-trivially-nested-assertion": "error", "regexp/no-potentially-useless-backreference": "error", "regexp/no-obscure-range": "error", "regexp/no-optional-assertion": "error", "regexp/no-useless-assertions": "error", "regexp/prefer-named-backreference": "error", "regexp/no-useless-flag": "error", "regexp/no-trivially-nested-quantifier": "error", "regexp/hexadecimal-escape": "error", "regexp/sort-flags": "error", "regexp/unicode-escape": "error", "regexp/no-non-standard-flag": "error", "regexp/control-character-escape": "error", "regexp/prefer-predefined-assertion": "error", "regexp/no-standalone-backslash": "error", "regexp/no-useless-quantifier": "error", "regexp/no-zero-quantifier": "error", "regexp/no-dupe-disjunctions": "error", "regexp/optimal-quantifier-concatenation": "error", "regexp/strict": "error", "regexp/sort-alternatives": "error", } };