
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@beanbag/eslint-plugin
Advanced tools
We write a lot of JavaScript at Beanbag, and need to keep our repositories in tip-top shape. This includes sticking to consistent standards and catching problems before they go up for review.
To help with this, we've created beanbag-eslint-plugin, our set of standard
ESLint rules for ES5, ES6, and TypeScript codebases.
To install this plugin:
npm install --save-dev @beanbag/eslint-plugin
There are several configurations and environments provided by the plugin, but
we recommend starting with the @beanbag/recommended configuration. This can
be enabled in your eslint.config.mjs file:
import beanbag from '@beanbag/eslint-plugin';
import { defineConfig } from 'eslint/config';
export default defineConfig([
beanbag.configs.recommended,
{
plugins: {
'@beanbag': beanbag,
},
},
]);
This ruleset automatically enables the following additional configurations:
beanbag.configs.es5: ES5 rules for *.js files.beanbag.configs.es6: ES6 rules for *.es6.js files.beanbag.configs.typescript: TypeScript rules for *.ts files.beanbag.configs.jsx: Rules for JSX files.beanbag.configs.jasmine: Rules for Jasmine test suites.beanbag.configs.storybook: Rules for Storybook stories.A set of default rules for all JavaScript/TypeScript code, written to be aggressively browser-safe.
A set of rules enabling ES6+ JavaScript code, useful for modern JavaScript (including code being processed by Babel.
A set of rules for developing TypeScript code.
Several sets of globals are also provided within the plugin. These may be
already added to languageOptions depending on which rulesets are enabled, but
are also available for your use:
beanbag.globals.backbone: Provides read-only globals configuration for
Backbone and _, for use with Backbone.
beanbag.globals.django: Provides read-only globals for django, gettext,
gettext_noop, interpolate, ngettext, npgettext, and pgettext,
for use with Django.
beanbag.globals.djblets: Provides a read-only global for Djblets, for
use with Djblets.
beanbag.globals.reviewboard: Provides a read-only global for RB , for
use in Review Board extensions.
FAQs
Configuration used for linting Beanbag JavaScript codebases.
We found that @beanbag/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.