{"_id":"@dephub/lint-next","name":"@dephub/lint-next","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dephub/lint-next","type":"module","version":"1.0.0","description":"Lint runner for Next.js projects with built-in React + TypeScript support. Fully compatible with ESLint.","types":"./dist/index.d.ts","main":"./dist/index.js","keywords":["lint-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/estarlincito/dephub-lint-next#readme","repository":{"type":"git","url":"git+https://github.com/estarlincito/dephub-lint-next.git"},"bugs":{"url":"https://github.com/estarlincito/dephub-lint-next/issues"},"publishConfig":{"access":"public"},"dependencies":{"@next/eslint-plugin-next":"^15.5.4","@types/eslint":"^9.6.1","eslint":"^9.35.0","@dephub/lint-react":"^1.0.0"},"devDependencies":{"@dephub/lint":"^1.0.0","@dephub/lint-ts":"^1.0.0","@dephub/glob":"^1.0.0","@dephub/path":"^1.0.0","@types/node":"^24.3.1","typescript":"^5.9.2","vite":"^7.1.4","vite-plugin-dts":"^4.5.4"},"scripts":{"release":"pnpm publish","check-types":"tsc --noEmit","lint":"lint . --max-warnings 0","clean":"rm -rf dist","build":"vite build","dev":"vite build -w"},"_id":"@dephub/lint-next@1.0.0","_integrity":"sha512-rpyxhJhNxuZrLgXGgUAYSm1nQ9LNffoYDr3srxxdv1CeCMtY+ve/0J4NOvscYXwwYT9ZlTNQz5+8IP+nh8UDDg==","_resolved":"/private/var/folders/2m/ss4r94rd1yn1syyj005kbltr0000gn/T/d6baf4e3d457682faac78b56ede6b7a5/dephub-lint-next-1.0.0.tgz","_from":"file:dephub-lint-next-1.0.0.tgz","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-rpyxhJhNxuZrLgXGgUAYSm1nQ9LNffoYDr3srxxdv1CeCMtY+ve/0J4NOvscYXwwYT9ZlTNQz5+8IP+nh8UDDg==","shasum":"2e1e455e18d1a5e1133b8028a0098707e8289623","tarball":"https://registry.npmjs.org/@dephub/lint-next/-/lint-next-1.0.0.tgz","fileCount":7,"unpackedSize":5120,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCuxgZ3OPQlXuaPzFGN/ZupMdTaCHzbXKVoIJRpGdokqwIgfuqdiD+oPlthAXU8J5KfpVvevuMjC0H2tjupS1Aql0M="}]},"_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/lint-next_1.0.0_1760166006675_0.9570584404014089"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-11T07:00:06.562Z","1.0.0":"2025-10-11T07:00:06.878Z","modified":"2025-10-11T07:00:07.255Z"},"maintainers":[{"name":"estarlincito","email":"estarlincito@icloud.com"}],"description":"Lint runner for Next.js projects with built-in React + TypeScript support. Fully compatible with ESLint.","homepage":"https://github.com/estarlincito/dephub-lint-next#readme","keywords":["lint-next","lint","eslint","eslint-config","nextjs","react","typescript","ts","config","preset","linter","code quality"],"repository":{"type":"git","url":"git+https://github.com/estarlincito/dephub-lint-next.git"},"author":{"name":"Estarlin R","email":"dev@estarlincito.com","url":"https://estarlincito.com"},"bugs":{"url":"https://github.com/estarlincito/dephub-lint-next/issues"},"license":"MIT","readme":"# @dephub/lint-next ⬛\n\n> Lint runner for Next.js projects with built-in React + TypeScript support. Fully compatible with ESLint.\n\n[![NPM version](https://img.shields.io/npm/v/@dephub/lint-next.svg?style=flat)](https://npmjs.org/package/@dephub/lint-next)\n[![ESM-only](https://img.shields.io/badge/ESM-only-brightgreen?style=flat)](https://nodejs.org/)\n\n---\n\n## Features ✨\n\n- ⚡ Run linting quickly with the `@dephub/lint` CLI\n- 🎨 Comes with a default Next.js + React + TypeScript configuration via `@dephub/lint-next`\n- 🔍 Enforces best practices for Next.js, React, and TS rules\n- ✅ Includes Core Web Vitals and recommended Next.js ESLint rules\n- 🔀 Supports import sorting, unused import cleanup, and Prettier formatting\n- ✅ Fully compatible with ESLint\n\n---\n\n## Installation 📦\n\n```bash\n# npm\nnpm install @dephub/lint @dephub/lint-next\n\n# pnpm\npnpm add @dephub/lint @dephub/lint-next\n\n# yarn\nyarn add @dephub/lint @dephub/lint-next\n\n# bun\nbun add @dephub/lint @dephub/lint-next\n```\n\n---\n\n## Usage 🎯\n\n### CLI 💻\n\nRun linting in your Next.js project:\n\n```bash\nlint\n```\n\nIt automatically detects `lint.config.mjs` or falls back to `@dephub/lint-next`.\n\n### Config / API 🧩\n\nCreate `lint.config.mjs`:\n\n```ts\nimport { defineConfig } from '@dephub/lint';\nimport nextConfig from '@dephub/lint-next';\n\nexport default defineConfig([\n  ...nextConfig,\n  {\n    rules: {\n      ...nextConfig.rules,\n      'react/jsx-no-useless-fragment': 'off',\n    },\n  },\n]);\n```\n\nThis allows you to extend the default Next.js config while keeping all built-in rules.\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-92587ca8fa121578cf0658d26f43a431"}