You can make it easier on users, however, by instead adding configs along with some config like "recommended" (as is common) or perhaps repeat the name "no-use-extend-native". Then just add rules with the rule and plugins with your plug-in. Then users will be able to just use extends: ["plugin:no-use-extend-native/recommended"] and not have to add the rule manually or add to their own plugins.
Per https://eslint.org/docs/2.0.0/user-guide/migrating-to-2.0.0 ,
rulesConfig
has been long abandoned, so per the docs the rule doesn't get applied when merely adding the plugin.You can make it easier on users, however, by instead adding
configs
along with some config like "recommended" (as is common) or perhaps repeat the name "no-use-extend-native". Then just addrules
with the rule andplugins
with your plug-in. Then users will be able to just useextends: ["plugin:no-use-extend-native/recommended"]
and not have to add the rule manually or add to their ownplugins
.