eslint-plugin-orbit-components
Advanced tools
Comparing version 0.0.0-development.8 to 0.1.0
# unnecessary-text | ||
Wrapping children of `Button` or `Heading` component into `Text` component is not necessary and breaks visual style of typography of these components. If you need to explicitly wrap it's children into some DOM element, use `<span />` instead. | ||
Wrapping children of `Button` or `Heading` component into `Text` component is not necessary and breaks visual style of typography of these components. If you need to explicitly wrap it's children into some DOM element, use e.g. `<span />` instead. | ||
## Rule details | ||
The following patterns are considered warnings: | ||
The following patterns are considered errors: | ||
@@ -9,0 +9,0 @@ ```jsx |
{ | ||
"name": "eslint-plugin-orbit-components", | ||
"version": "0.0.0-development.8", | ||
"version": "0.1.0", | ||
"description": "Collection of ESLint rules to enforce the best usage practices of @kiwicom/orbit-components", | ||
@@ -5,0 +5,0 @@ "repository": { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
0
210909