New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-orbit-components

Package Overview
Dependencies
Maintainers
17
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-orbit-components - npm Package Compare versions

Comparing version 0.0.0-development.8 to 0.1.0

4

docs/rules/unnecessary-text.md
# 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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc