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
Additional comments
This change would be consistent with the documentation
What problem do you want to solve?
Currently the playground generates a configuration which specifies
sourceTypeinlanguageOptions.parserOptionsinstead oflanguageOptions. For example:What do you think is the correct solution?
Move the properties
languageOptions.parserOptions.{sourceType,ecmaVersion}tolanguageOptions.{sourceType,ecmaVersion}.Participation
Additional comments
This change would be consistent with the documentation