
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
eslint-config-nice-nextjs
Advanced tools
An ESLint setup for Next.js apps. It uses the ESLint flat config style (ESLint 9+) and pulls in React, React Hooks, Next.js, and TypeScript rules so you get useful checks out of the box.
eslint.config.mjs@next/eslint-plugin-next (recommended + core web vitals)eslint-plugin-react and eslint-plugin-react-hookseslint-config-love for stronger TypeScript rulesapp/ and src/# pnpm
pnpm add -D eslint-config-nice-nextjs
# npm
npm install --save-dev eslint-config-nice-nextjs
# yarn
yarn add --dev eslint-config-nice-nextjs
Your project should already depend on:
eslint@^9eslint-config-next@^15.5.4@next/eslint-plugin-next@^15.2.4eslint-plugin-react@^7.37.5eslint-plugin-react-hooks@^7typescript (optional but recommended)Install any you are missing:
pnpm add -D eslint@^9 eslint-config-next@^15.5.4 @next/eslint-plugin-next@^15.2.4 eslint-plugin-react@^7.37.5 eslint-plugin-react-hooks@^7 typescript
Create eslint.config.mjs in your project (or update the existing file):
import niceNextjs from 'eslint-config-nice-nextjs';
export default niceNextjs;
To tweak ignores or rules, spread the config and add your own blocks:
import niceNextjs from 'eslint-config-nice-nextjs';
export default [
{ ignores: ['.turbo/**', 'cypress/**'] },
...niceNextjs,
{
files: ['tests/**/*.{ts,tsx}'],
rules: { 'no-console': 'off' },
},
];
pnpm add -D prettier eslint-plugin-prettier
import niceNextjs from 'eslint-config-nice-nextjs';
import prettier from 'eslint-plugin-prettier/recommended';
export default [...niceNextjs, prettier];
.next/**, .pnpm-store/**, and node_modules/**eslint-config-loveapp/ and src/See src/index.ts if you want the full detail.
The repo includes ts-next-app/, which uses the built config from dist/:
cd ts-next-app
pnpm lint
Some files in that app break the rules on purpose so you can see the errors. Fix them or ignore them if you want a clean run. This app used for the CI testsbefore releasing the new version.
Open an issue or PR if you spot something. Run lint and build before sending changes. Update this README and add a Changeset when you change the published rules.
FAQs
A TypeScript ESLint config for Next.js
We found that eslint-config-nice-nextjs 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.