
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
eslint-stylistic-airbnb
Advanced tools
Airbnb config for ESLint with style rules via @stylistic plugin
Install all required dependencies
npm install -D eslint @stylistic/eslint-plugin eslint-stylistic-airbnb
Add following to your eslint config:
// Flat config
// eslint.config.mjs
import stylistic from '@stylistic/eslint-plugin';
import airbnb from 'eslint-stylistic-airbnb';
export default [
airbnb,
{
files: ['**/*.{js,mjs,cjs,ts}'],
plugins: {
'@stylistic': stylistic,
},
},
];
// Legacy config
// .eslintrc.js
module.exports = {
plugins: ['@stylistic'],
rules: {
...require('eslint-stylistic-airbnb').rules,
},
parserOptions: {
ecmaVersion: 'latest',
},
};
If you use typescript, install additional dependency:
npm install -D typescript-eslint
And add following to your eslint config:
// Flat config
// eslint.config.mjs
import tseslint from 'typescript-eslint';
import stylistic from '@stylistic/eslint-plugin';
import airbnb from 'eslint-stylistic-airbnb';
export default [
airbnb,
...tseslint.configs.recommended,
{
files: ['**/*.{js,mjs,cjs,ts}'],
plugins: {
'@stylistic': stylistic,
},
},
];
// Legacy config
// .eslintrc.js
module.exports = {
plugins: [
'@typescript-eslint',
'@stylistic',
],
parser: '@typescript-eslint/parser',
rules: {
...require('eslint-stylistic-airbnb').rules,
},
};
This config is created from the base airbnb config as is, with no changes to original rules
func-style rule is turned off, just like in original config (airbnb config contradicts with airbnb styleguide, this
option set to be "backward-compatible")FAQs
Airbnb config for eslint using stylistic plugin
We found that eslint-stylistic-airbnb demonstrated a healthy version release cadence and project activity because the last version was released less than 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 found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.