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.1.0 to 0.2.0-develop

dist/rules/buttonHasTitle.js

3

dist/index.js

@@ -8,2 +8,4 @@ "use strict";

var _buttonHasTitle = _interopRequireDefault(require("./rules/buttonHasTitle"));
var _unnecessaryText = _interopRequireDefault(require("./rules/unnecessaryText"));

@@ -14,4 +16,5 @@

var rules = {
"button-has-title": _buttonHasTitle.default,
"unnecessary-text": _unnecessaryText.default
};
exports.rules = rules;

2

package.json
{
"name": "eslint-plugin-orbit-components",
"version": "0.1.0",
"version": "0.2.0-develop",
"description": "Collection of ESLint rules to enforce the best usage practices of @kiwicom/orbit-components",

@@ -5,0 +5,0 @@ "repository": {

@@ -27,2 +27,3 @@ # eslint-plugin-orbit-components

// ...
"orbit-components/button-has-title": "error",
"orbit-components/unnecessary-text": "error",

@@ -35,2 +36,3 @@ }

- [button-has-title](docs/rules/button-has-title.md): Enforces that `Button` and `ButtonLink` do have either `children` or `title` property.
- [unnecessary-text](docs/rules/unnecessary-text.md): Enforces that children of `Button` or `Heading` are not wrapped in `Text` component.

@@ -37,0 +39,0 @@

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