Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago

match eslint packages other than next.js

1

Regular Expression
ECMAScript (JavaScript)

/
^(@(typescript-)?eslint\/.*|eslint($|(?!.*next).*))
/
gm

Description

Loading markdown...
Submitted by Mitsunee - 6 months ago
(Last modified 6 months ago)