-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What problem do you want to solve?
The ESLint playground currently generates configuration files using plain object exports:
export default [
{
rules: { ... }
}
];This works, but it doesn't follow modern ESLint best practices.
What do you think is the correct solution?
I'd like the playground to generate configuration files using defineConfig helper:
import { defineConfig } from "eslint/config";
export default defineConfig([
{
rules: { ... }
}
]);Participation
- I am willing to submit a pull request for this change.
Additional comments
Refs eslint/eslint#19505
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Needs Triage