diff --git a/.eslintrc.json b/.eslintrc.json index 67688eb61c20e..e0e871115f83c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -76,7 +76,11 @@ } }, { - "files": ["test/**/*", "examples/**/*"], + "files": [ + "test/**/*", + "examples/**/*", + "packages/create-next-app/templates/**/*" + ], "rules": { "react/react-in-jsx-scope": "off" } } ], diff --git a/packages/create-next-app/templates/default/pages/index.js b/packages/create-next-app/templates/default/pages/index.js index bbe2d105e680e..6952aff320726 100644 --- a/packages/create-next-app/templates/default/pages/index.js +++ b/packages/create-next-app/templates/default/pages/index.js @@ -1,4 +1,3 @@ -import React from 'react' import Head from 'next/head' const Home = () => (