You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow us to enable certain parts of the configure only if they are relevant eg:
React rules only if react package is available
Next.js rules only if next package is available
SafeQL only if the package is available
The text was updated successfully, but these errors were encountered:
karlhorky
changed the title
Use overrides to configure based on availability of packages
Use ESLint "overrides" to configure based on availability of packages
Apr 3, 2023
The 1stG ESLint configs use
overrides
to enable different things in the config based on whether certain packages are available:https://github.com/karlhorky/configs/blob/master/packages/eslint-config/overrides.js#L536
This would allow us to enable certain parts of the configure only if they are relevant eg:
react
package is availablenext
package is availableThe text was updated successfully, but these errors were encountered: