Files
vercel__next.js/examples/with-react-intl/package.json
Ben Gubler 41e39426eb Remove automatic linting from build (#83136)
### 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
2025-10-08 16:35:07 -07:00

28 lines
735 B
JSON

{
"private": true,
"scripts": {
"predev": "npm run i18n:compile",
"dev": "next dev",
"prebuild": "npm run i18n:compile",
"build": "next build",
"start": "next start",
"lint": "eslint .",
"i18n:extract": "formatjs extract 'pages/**/*.ts*' 'components/**/*.ts*' --out-file lang/en.json",
"i18n:compile": "formatjs compile-folder lang compiled-lang"
},
"dependencies": {
"next": "latest",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-intl": "6.1.1"
},
"devDependencies": {
"@formatjs/cli": "5.1.0",
"@types/node": "18.7.23",
"@types/react": "18.2.8",
"babel-plugin-formatjs": "10.3.28",
"eslint-plugin-formatjs": "4.3.1",
"typescript": "4.8.4"
}
}