
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.
eslint-config-exponent
Advanced tools
Shared ESLint configs for Exponent's JS.
yarn add --dev eslint-config-exponent
You will also need to install eslint
, babel-eslint
, eslint-plugin-babel
, eslint-plugin-import
, and eslint-plugin-react
(if you want to lint React and JSX):
yarn add --dev eslint babel-eslint eslint-plugin-babel eslint-plugin-import eslint-plugin-react
Import this config into your own ESLint configuration using the extends
option. ESLint checks both package.json and .eslintrc.* files for its configuration:
{
"eslintConfig": {
"extends": "exponent"
}
}
module.exports = {
extends: 'exponent',
};
There are two configs: one for JavaScript and one for React. The React configuration extends the JavaScript one and adds support and linter rules for JSX.
"eslintConfig": {
"extends": "exponent"
// or
"extends": "exponent/react"
}
FAQs
Shared ESLint configs for Exponent
The npm package eslint-config-exponent receives a total of 1,644 weekly downloads. As such, eslint-config-exponent popularity was classified as popular.
We found that eslint-config-exponent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.