mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
41e39426eb
### What? This PR removes the automatic ESLint linting that previously ran during `next build`. The documentation has been updated to reflect this change. ### Why? As part of Next.js 16, we're removing the automatic build-time linting that was previously included in the build process. This gives developers more control over when linting runs by explicitly invoking their linter via npm scripts. ### How? - Updated documentation to clarify that automatic build-time linting has been removed in Next.js 16 - Removed the `runLint` parameter and related linting code from the build process - Removed the `verifyAndLint.ts` file which is no longer needed - Simplified type checking code by removing lint-related functionality - Removed ESLint telemetry during builds
35 lines
828 B
JSON
35 lines
828 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"next": "14.2.2",
|
|
"react": "^18",
|
|
"react-dom": "^18"
|
|
},
|
|
"devDependencies": {
|
|
"@chromatic-com/storybook": "^1.3.3",
|
|
"@storybook/addon-essentials": "^8.0.9",
|
|
"@storybook/addon-interactions": "^8.0.9",
|
|
"@storybook/addon-links": "^8.0.9",
|
|
"@storybook/blocks": "^8.0.9",
|
|
"@storybook/nextjs": "^8.0.9",
|
|
"@storybook/react": "^8.0.9",
|
|
"@storybook/test": "^8.0.9",
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"storybook": "^8.0.9",
|
|
"typescript": "^5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|