Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify --rulesdir to have local rules #391

Closed
fregante opened this issue Jun 22, 2019 · 3 comments
Closed

How to specify --rulesdir to have local rules #391

fregante opened this issue Jun 22, 2019 · 3 comments

Comments

@fregante
Copy link
Member

How can I have a custom rule? eslint offers the --rulesdir flag:
https://eslint.org/docs/user-guide/command-line-interface#specifying-rules-and-plugins

More info:https://eslint.org/docs/developer-guide/working-with-rules#runtime-rules

@sindresorhus
Copy link
Member

sindresorhus commented Aug 19, 2019

Not at the moment. I never added it as I personally never needed it and nobody else has requested it. Usually, it's better to just create a shareable config instead.

PR welcome for a --rules-directory flag (and config option).

@fregante
Copy link
Member Author

Related: #428

@fregante
Copy link
Member Author

No interest anymore, probably the new config will fix this

@fregante fregante closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants