
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
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.
@empathyco/eslint-plugin-x
Advanced tools
The project name is just to follow the guidelines of ESLint to develop a custom plugin, but it includes also style formatter and good practices outside ESLint:
To install the linter plugin:
# or pnpm or yarn
npm install @empathyco/eslint-plugin-x --save-dev
The plugin offers different levels of configuration depending on the plugins and rules we want to activate:
Severity | Plugins |
---|---|
standard | ESLint |
TypeScript | |
Prettier | |
recommended | standard plugins |
JSDoc | |
TSDoc | |
Import | |
Jest | |
Cypress | |
all | recommended plugins |
Vue |
Add plugin:@empathyco/x
to the extends section of your .eslintrc
configuration file followed by
the severity config that you want to activate standard
, recommended
or all
. You can omit the
eslint-plugin-
prefix.
{ "extends": ["plugin:@empathyco/x/standard"] }
or
{ "extends": ["plugin:@empathyco/x/recommended"] }
or
{ "extends": ["plugin:@empathyco/x/all"] }
The Prettier configuration is available in the prettier-config.js
file. First, delete your custom
prettier config file if you have. To use it is enough with reference it in you package.json
:
"prettier": "@empathyco/eslint-plugin-x/prettier-config"
FAQs
ESLint and Prettier rules and configurations
We found that @empathyco/eslint-plugin-x 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.
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.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.