How to resolve local plugin or rule using old rc config file format? #18365
-
Eslint v8.50, Windows, using I am following custom rule tutorial to create custom rule (which requires a plugin from what I understand), but I'm not able import my local plugin. Tried following:
The only way I managed to make it work is to do Is there any other way to achieve it? (without migrating to flat config) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We're doing the same in the eslint project: Line 125 in 0f5df50 It indeed seems too complicated, but it's probably the best way to include local rules when using the |
Beta Was this translation helpful? Give feedback.
We're doing the same in the eslint project:
eslint/package.json
Line 125 in 0f5df50
It indeed seems too complicated, but it's probably the best way to include local rules when using the
eslintrc
config format. The new flat config format is designed to make including local rules much easier.