Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint fails #3

Open
webb-ben opened this issue Feb 11, 2025 · 0 comments
Open

Lint fails #3

webb-ben opened this issue Feb 11, 2025 · 0 comments

Comments

@webb-ben
Copy link
Member

I am unable to successfully run npm run lint this also blocks me from building the distribution.

> [email protected] lint
> next lint

Invalid Options:
- Unknown options: useEslintrc, extensions, resolvePluginsRelativeTo, rulePaths, ignorePath, reportUnusedDisableDirectives
- 'extensions' has been removed.
- 'resolvePluginsRelativeTo' has been removed.
- 'ignorePath' has been removed.
- 'rulePaths' has been removed. Please define your rules using plugins.
- 'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.

If it pin eslint in package.json

    "eslint": "8.38.0",

I then get the error:

benwebb@Benjamins-MacBook-Pro explorer.geoconnex.us % npm run lint

> [email protected] lint
> next lint


 ⚠ The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/app/api-reference/config/eslint#migrating-existing-config

./src/app/App.tsx
2:1  Error: Parsing error: The keyword 'import' is reserved

./src/app/assets/icons/HorizontalLine.tsx
1:1  Error: Parsing error: The keyword 'import' is reserved
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant