
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@kiwicom/eslint-plugin-orbit-components
Advanced tools
Collection of ESLint rules to enforce the best usage practices of @kiwicom/orbit-components
[!WARNING] This package is deprecated and will no longer be maintained.
Collection of ESLint rules to enforce the best usage practices of @kiwicom/orbit-components
.
Assuming you already have ESLint installed, run:
# npm
npm install @kiwicom/eslint-plugin-orbit-components --save-dev
# yarn
yarn add @kiwicom/eslint-plugin-orbit-components --dev
Then add it to your ESLint configuration:
{
"plugins": [
// ...
"@kiwicom/eslint-plugin-orbit-components"
],
"rules": {
// ...
"@kiwicom/orbit-components/button-has-title": "error",
"@kiwicom/orbit-components/unnecessary-text": "error",
}
}
or via extending our recommended config:
{
"extends": [
"plugin:orbit-components/recommended",
]
}
Button
and ButtonLink
do have either children
or title
property.Button
or Heading
are not wrapped in Text
component.theme.rtl
to apply RTL styles like right/left position, margins, and paddings. This rule should prevent such cases and enforce the usage of our RTL utility functions.id
HTML attribute. It often happens, that some elements can have the same ids. To prevent it in our codebase, it's better to use randomID
utility function.MIT
FAQs
Collection of ESLint rules to enforce the best usage practices of @kiwicom/orbit-components
We found that @kiwicom/eslint-plugin-orbit-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.