-
-
Notifications
You must be signed in to change notification settings - Fork 75
Suggestion: Move languageOptions properties from nested parserOptions #891
Copy link
Copy link
Open
Labels
Description
What problem do you want to solve?
Currently the playground generates a configuration which specifies sourceType in languageOptions.parserOptions instead of languageOptions. For example:
export default [
{
"languageOptions": {
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
}
}
];What do you think is the correct solution?
Move the properties languageOptions.parserOptions.{sourceType,ecmaVersion} to languageOptions.{sourceType,ecmaVersion}.
Participation
- I am willing to submit a pull request for this change.
Additional comments
This change would be consistent with the documentation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Implementing