Skip to content

Commit eac0374

Browse files
authoredJun 20, 2021
Update with-eslint example. (#25817)
1 parent 2a5db0b commit eac0374

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed
 

‎examples/with-eslint/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This example shows a Next.js application using the built-in ESLint setup with the `next` shareable configuration enabled in `.eslintrc`.
44

5-
Note: ESLint running during build (`next build`) is still experimental and needs to be enabled via an `{ experimental: eslint }` flag in `next.config.js`.
5+
Learn more about the integrated ESLint configuration [in the docs](https://nextjs.org/docs/basic-features/eslint).
66

77
## Preview
88

@@ -14,7 +14,7 @@ Preview the example live on [StackBlitz](http://stackblitz.com/):
1414

1515
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
1616

17-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-service-worker&project-name=with-service-worker&repository-name=with-service-worker)
17+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-eslint&project-name=with-eslint&repository-name=with-eslint)
1818

1919
## How to use
2020

‎examples/with-eslint/next.config.js

-5
This file was deleted.

‎examples/with-eslint/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"dev": "next",
66
"build": "next build",
7-
"start": "next start"
7+
"start": "next start",
8+
"lint": "next lint"
89
},
910
"license": "MIT",
1011
"dependencies": {

0 commit comments

Comments
 (0)
Please sign in to comment.