这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mm-webx
Copy link
Contributor

@mm-webx mm-webx commented Mar 27, 2025

Resolve issues with unexpected top-level property default in base.js eslint config

Error: ESLint configuration in .eslintrc.js » @repo/eslint-config/nest.js » ./base.js » eslint-config-turbo is invalid:
- Unexpected top-level property "default".

Description

When I run this example application and use npm run lint it will retrun an error:

api:lint: Oops! Something went wrong! :(
api:lint: 
api:lint: ESLint: 8.57.1
api:lint: 
api:lint: Error: ESLint configuration in .eslintrc.js » @repo/eslint-config/nest.js » ./base.js » eslint-config-turbo is invalid:
api:lint:       - Unexpected top-level property "default".
api:lint: 
api:lint: Referenced from: /.../packages/eslint-config/base.js

My changes fixing issue and there is no more errors:

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    1.821s 

Testing Instructions

  1. Clone repo
  2. npm i
  3. npm run lint

…js` eslint config

```
Error: ESLint configuration in .eslintrc.js » @repo/eslint-config/nest.js » ./base.js » eslint-config-turbo is invalid:
- Unexpected top-level property "default".
```
@mm-webx mm-webx requested a review from a team as a code owner March 27, 2025 07:28
@turbo-orchestrator turbo-orchestrator bot added area: examples Improvements or additions to examples needs: triage labels Mar 27, 2025
@vercel
Copy link
Contributor

vercel bot commented Mar 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 7:28am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 7:28am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 7:28am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 7:28am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 7:28am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 7:28am

@vercel
Copy link
Contributor

vercel bot commented Mar 27, 2025

@mm-webx is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@anthonyshew anthonyshew merged commit 1a4f123 into vercel:main Mar 27, 2025
10 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: examples Improvements or additions to examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants