ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
82
Create an ESLint flat config snippet that enforces safe Unicode handling in regular expressions, ensuring engineers rely on Unicode-aware flags, code point escapes, and canonical property names. Tests lint sample files with this config; patterns marked as passing should produce no violations, while failing patterns should surface at least one Unicode-focused lint error.
u or v flag is reported; the same pattern passes when the flag is present. @test\u{...} code point escape under a Unicode-aware flag. @test\p{sc=grEek}) is reported; the canonical form (e.g., \p{Script=Greek}) passes. @test@generates
// Returns an ESLint flat config array that enforces unicode-safe regex linting.
// Configuration must enable only the rules necessary for Unicode flags, code point escapes, and property name normalization.
export function createUnicodeRegexConfig(): import('eslint').Linter.FlatConfig[];Provides regex-focused ESLint rules with Unicode-aware checks and autofixes.
Install with Tessl CLI
npx tessl i tessl/npm-eslint-plugin-regexpevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10