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
We have a component that takes a couple of href props, like hrefLeft and hrefRight. These end up being used further down in the chain as href attributes, so it would be nice to be able to specify this in the configuration for this rule so it can be checked.
There may be other rules that could use a similar style of configuration.
* [new] - Add support to pass prop options down for `href-no-hash` rule.
Fixes#76
* [new] - Update all schemas to use objects so that they are extensible in the future.
This will ensure that adding properties to the config won’t be a
breaking change for all rules.
* [docs] - Update docs to reflect new schemas.
* Remove Link from anchor-has-content in favor of eslintrc customization.
* Allow customization of keys for components and props for schema factories.
* Camelcase specialLink for consistency.
* Refactor schema generation to be more composable and local to the rules.
We have a component that takes a couple of
href
props, likehrefLeft
andhrefRight
. These end up being used further down in the chain ashref
attributes, so it would be nice to be able to specify this in the configuration for this rule so it can be checked.There may be other rules that could use a similar style of configuration.
cc @wyattdanger
The text was updated successfully, but these errors were encountered: