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
It would be good to add something like it on the condition that:
eslint-local-rules.js isn't found
eslint-local-rules/index.js isn't found
eslint-local-rules/*.js files exist
This follows #22 in that it reduces the amount of boilerplate code that one needs to copy-paste. For people who want custom loading logic, they can keep using the index file.
The text was updated successfully, but these errors were encountered:
Once the rules start to pile up, it's easier to keep them in separate files. Currently I have this in
index.js
:It would be good to add something like it on the condition that:
eslint-local-rules.js
isn't foundeslint-local-rules/index.js
isn't foundeslint-local-rules/*.js
files existThis follows #22 in that it reduces the amount of boilerplate code that one needs to copy-paste. For people who want custom loading logic, they can keep using the index file.
The text was updated successfully, but these errors were encountered: