Skip to content

Commit 0404150

Browse files
committed
chore: remove ecmaVersion
1 parent 9903f7c commit 0404150

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"node/no-unsupported-features/es-syntax": ["off"]
1313
},
1414
"parserOptions": {
15-
"ecmaVersion": 7,
1615
"ecmaFeatures": {
1716
"jsx": true
1817
},

run/nextjs-helloworld/app/layout.jsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
// distributed under the License is distributed on an "AS IS" BASIS,
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
13-
// limitations under the License.
13+
// limitations under the License.;
1414

15-
import React from 'react'
16-
17-
export default function RootLayout({ children }) {
15+
export default function RootLayout({children}) {
1816
return (
1917
<html lang="en">
2018
<body>{children}</body>

run/nextjs-helloworld/app/page.jsx

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
import React from 'react'
16-
1715
export default function Page() {
1816
return <h1>Hello, Next.js!</h1>;
1917
}

0 commit comments

Comments
 (0)