Skip to content

Commit 88b1fe5

Browse files
author
Luis Alvarez D
authored
Remove react import in create-next-app template (#10564)
1 parent 3f691ea commit 88b1fe5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.eslintrc.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@
7676
}
7777
},
7878
{
79-
"files": ["test/**/*", "examples/**/*"],
79+
"files": [
80+
"test/**/*",
81+
"examples/**/*",
82+
"packages/create-next-app/templates/**/*"
83+
],
8084
"rules": { "react/react-in-jsx-scope": "off" }
8185
}
8286
],

packages/create-next-app/templates/default/pages/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import Head from 'next/head'
32

43
const Home = () => (

0 commit comments

Comments
 (0)