
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.