Skip to content

Commit

Permalink
chore(unicorn): remove deprecated rule no-unsafe-regex (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkChampagne17 committed Oct 6, 2023
1 parent a17d956 commit ff4ae7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/configs/unicorn.ts
Expand Up @@ -19,8 +19,6 @@ export function unicorn(): FlatESLintConfigItem[] {
'unicorn/no-new-array': 'error',
// Prevent deprecated `new Buffer()`
'unicorn/no-new-buffer': 'error',
// Keep regex literals safe!
'unicorn/no-unsafe-regex': 'error',
// Lowercase number formatting for octal, hex, binary (0x1'error' instead of 0X1'error')
'unicorn/number-literal-case': 'error',
// includes over indexOf when checking for existence
Expand Down

0 comments on commit ff4ae7e

Please sign in to comment.