Community Patterns

Community Library Entry

1

Regular Expression
Created·2023-05-26 20:32
Updated·2023-05-26 20:33
Flavor·ECMAScript (JavaScript)

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

Description

This could be used to group eslint stuff in renovate config for a next.js project. Since you're intended to keep eslint-plugin-next at the same version as next itself, you would want to group it with next instead. Using negative lookahead we can ignore eslint-config-next (or anything else you may wish to ignore)

Submitted by Mitsunee