Skip to content

Commit

Permalink
Update with-eslint example. (#25817)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Jun 20, 2021
1 parent 2a5db0b commit eac0374
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/with-eslint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

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

## Preview

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

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

[![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)
[![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)

## How to use

Expand Down
5 changes: 0 additions & 5 deletions examples/with-eslint/next.config.js

This file was deleted.

3 changes: 2 additions & 1 deletion examples/with-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
"start": "next start",
"lint": "next lint"
},
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit eac0374

Please sign in to comment.