Open
Description
Here's what I did
Upgrade to ESLint 9 and import eslint-config-semistandard
import globals from 'globals';
import semistandard from 'eslint-config-semistandard';
export default [
semistandard,
{
ignores: ["dist/**"],
languageOptions: {
globals: {
...globals.browser,
...globals.es2021,
...globals.node
}
}
}
];
What I expected to happen
I should be able to import semistandard
in eslint.config.js
and use it as a default ruleset (see eslint-config-standard usage).
standard/eslint-config-standard@3d1284c
What seems to have happened
ESLint reports the following error:
Oops! Something went wrong! :(
ESLint: 9.0.0
A config object is using the "extends" key, which is not supported in flat config system.
Instead of "extends", you can include config objects that you'd like to extend from directly in the flat config array.
Please see the following page for more information:
https://eslint.org/docs/latest/use/configure/migration-guide#predefined-and-shareable-configs
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status