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

Unknown options: extensions, useEslintrc #287

Open
DamienCassou opened this issue Apr 10, 2024 · 5 comments
Open

Unknown options: extensions, useEslintrc #287

DamienCassou opened this issue Apr 10, 2024 · 5 comments

Comments

@DamienCassou
Copy link
Contributor

$ npx eslint_d .
Error: Invalid Options:
- Unknown options: extensions, useEslintrc
- 'extensions' has been removed.

$ npx eslint_d --version
v8.57.0 (eslint_d v13.1.2)

$ npx eslint
...
works fine
@ahmafi
Copy link

ahmafi commented Apr 11, 2024

Same problem here. I have this config file:

{
  "env": {
    "browser": true,
    "es2021": true
  },
  "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module"
  },
  "plugins": ["@typescript-eslint"],
  "rules": {}
}

@Amar-Gill
Copy link

I'm getting the same error when I'm in a project using the new flat config.

eslint_d version 13.1.2

@pedro757
Copy link

I believe this isn't compatible with eslint v9

@damrath
Copy link

damrath commented May 16, 2024

I believe this isn't compatible with eslint v9

You're right, it's stated in the readme that eslint_d supports up to version 8 of ESLint.

@afaikiac
Copy link

afaikiac commented May 23, 2024

Works fine for me with eslint 9 and env ESLINT_USE_FLAT_CONFIG=true.

env ESLINT_USE_FLAT_CONFIG=true eslint_d restart

or export this env in your .profile for example

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

6 participants