
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.
@silicon-soldier/eslint-config-typescript
Advanced tools
This ESLint configuration targets TypeScript, building on the baseline configuration `@silicon-soldier/eslint-config`.
This ESLint configuration targets TypeScript, building on the baseline configuration @silicon-soldier/eslint-config
.
npm i --save-dev @silicon-soldier/eslint-config-typescript
This plugin requires ESLint 6. Note that @typescript-eslint/parser
and @typescript-eslint/eslint-plugin
will peer dependency warning for ESLint 5, this can be safely ignored as they are compatible with both versions. Offical support in those plugins will arrive in v2, which is currently held up by other planned breaking changes that are targetted for the same major version bump.
Create an ESLint config file called .eslintrc.json
(or whichever extension you need/prefer).
{
"extends": "@silicon-soldier/eslint-config-typescript",
"parserOptions": {
"ecmaVersion": 2015
}
}
Some things to note are;
.ts
files. Use the --ext
flag, or provide a glob that includes the file extension to get around this.ESLint isn't magic. To actually get value out, you'll need to integrate it with your projects existing tooling to maximise value. Some other recommendations are;
FAQs
This ESLint configuration targets TypeScript, building on the baseline configuration `@silicon-soldier/eslint-config`.
We found that @silicon-soldier/eslint-config-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.