{"_id":"@dephub/eslint-next","name":"@dephub/eslint-next","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dephub/eslint-next","type":"module","version":"1.0.0","description":"Opinionated modern ESLint configuration for Next.js projects.","types":"./dist/index.d.ts","main":"./dist/index.js","keywords":["eslint-next","lint","eslint","eslint-config","nextjs","react","typescript","ts","config","preset","linter","code-quality"],"author":{"name":"Estarlin R","email":"dev@estarlincito.com","url":"https://estarlincito.com"},"license":"MIT","homepage":"https://github.com/dephub-js/eslint-next#readme","repository":{"type":"git","url":"git+https://github.com/dephub-js/eslint-next.git"},"bugs":{"url":"https://github.com/dephub-js/eslint-next/issues"},"publishConfig":{"access":"public"},"dependencies":{"@dephub/eslint-react":"^1.0.0","@next/eslint-plugin-next":"^16.1.6","@types/eslint":"^9.6.1","eslint":"^10.0.2"},"devDependencies":{"@dephub/eslint-ts":"^1.0.1","@dephub/glob":"^1.0.1","@dephub/path":"^1.0.1","@types/node":"^25.3.2","typescript":"^5.9.3","vite":"^7.3.1","vite-plugin-dts":"^4.5.4"},"scripts":{"release":"pnpm publish","check-types":"tsc --noEmit","lint":"eslint . --fix --max-warnings 0","clean":"rm -rf dist","build":"vite build","dev":"vite build -w"},"_id":"@dephub/eslint-next@1.0.0","_integrity":"sha512-LdOVeR8RhjPRKGA3env0HfEEwfZfp6JxE3H71QHAgWr4llWGAZDy79WZ8xVWaMHUK1upOtu2zEajCZp6YtLbog==","_resolved":"/tmp/3a2a6647de23d5e94f2dca1ef1142422/dephub-eslint-next-1.0.0.tgz","_from":"file:dephub-eslint-next-1.0.0.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LdOVeR8RhjPRKGA3env0HfEEwfZfp6JxE3H71QHAgWr4llWGAZDy79WZ8xVWaMHUK1upOtu2zEajCZp6YtLbog==","shasum":"d0546e02afce720f0e3eea390286df19a5d03232","tarball":"https://registry.npmjs.org/@dephub/eslint-next/-/eslint-next-1.0.0.tgz","fileCount":7,"unpackedSize":5137,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dephub%2feslint-next@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUTzMrpbPe+P0y0qDsCelNEi77HbDPWASI85x/M2wT/wIgEHdLlGLQ8TBEQUOE8BKSAsdovhu+mO2bBalWwy0l4mY="}]},"_npmUser":{"name":"estarlincito","email":"estarlincito@icloud.com"},"directories":{},"maintainers":[{"name":"estarlincito","email":"estarlincito@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-next_1.0.0_1772305420068_0.7291919035583612"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-28T19:03:39.982Z","1.0.0":"2026-02-28T19:03:40.213Z","modified":"2026-02-28T19:03:40.628Z"},"maintainers":[{"name":"estarlincito","email":"estarlincito@icloud.com"}],"description":"Opinionated modern ESLint configuration for Next.js projects.","homepage":"https://github.com/dephub-js/eslint-next#readme","keywords":["eslint-next","lint","eslint","eslint-config","nextjs","react","typescript","ts","config","preset","linter","code-quality"],"repository":{"type":"git","url":"git+https://github.com/dephub-js/eslint-next.git"},"author":{"name":"Estarlin R","email":"dev@estarlincito.com","url":"https://estarlincito.com"},"bugs":{"url":"https://github.com/dephub-js/eslint-next/issues"},"license":"MIT","readme":"# @dephub/eslint-next ▲\n\n> Opinionated modern ESLint configuration for Next.js projects, built on top of `@dephub/eslint-react`.\n\n[![NPM version](https://img.shields.io/npm/v/@dephub/eslint-next.svg?style=flat)](https://npmjs.org/package/@dephub/eslint-next)\n[![ESM-only](https://img.shields.io/badge/ESM-only-brightgreen?style=flat)](https://nodejs.org/)\n\n---\n\n## Features ✨\n\n- ▲ Extends `@dephub/eslint-react` for full React + TS support\n- 🚀 Next.js core web vitals rules included\n- ⚛️ React and Hooks best practices\n- 🔀 Import sorting and unused import handling\n- 🧹 Prettier-compatible formatting rules\n\n---\n\n## Installation 📦\n\n- npm: `npm install -D eslint @dephub/eslint-next`\n- pnpm: `pnpm add -D eslint @dephub/eslint-next`\n- yarn: `yarn add -D eslint @dephub/eslint-next`\n- bun: `bun add -D eslint @dephub/eslint-next`\n\n> Since this config extends `@dephub/eslint-react`, your project should already support React and TypeScript.\n\n---\n\n## Usage 🎯\n\n### API 🧩\n\nCreate an `eslint.config.mjs` file:\n\n```ts id=\"nextcfg\"\nimport { defineConfig } from 'eslint/config';\nimport nextConfig from '@dephub/eslint-next';\n\nexport default defineConfig([...nextConfig]);\n```\n\nYou don’t need to manually include `@dephub/eslint-react` or `@dephub/eslint-ts` — they are extended internally.\n\n### Extending the configuration\n\n```ts id=\"nextext\"\nimport { defineConfig } from 'eslint/config';\nimport nextConfig from '@dephub/eslint-next';\n\nexport default defineConfig([\n  ...nextConfig,\n  {\n    rules: {\n      '@next/next/no-html-link-for-pages': 'off',\n    },\n  },\n]);\n```\n\nThen run ESLint normally:\n\n```bash id=\"nextrun\"\nnpx eslint .\n```\n\n---\n\n## License 📄\n\nMIT License – see [LICENSE](LICENSE) for details.\n\n**Author:** Estarlin R ([estarlincito.com](https://estarlincito.com))\n","readmeFilename":"README.md","_rev":"1-5f3261e0f5ca006fae9bfc9edce5fc2c"}