You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using eslint with its default parser, it is enough to specify the ECMA Version as part of the env, as it also sets parserOptions.ecmaVersion. For example, "env": { "ecma2022": true } automatically sets parserOptions.ecmaVersion to 13. This is explained in the official ESLint docs: https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-environments
When using the Vue parser that behavior does not exist, you have to set parserOptions.ecmaVersion manually.
The text was updated successfully, but these errors were encountered:
When using eslint with its default parser, it is enough to specify the ECMA Version as part of the env, as it also sets
parserOptions.ecmaVersion
. For example,"env": { "ecma2022": true }
automatically setsparserOptions.ecmaVersion
to13
. This is explained in the official ESLint docs: https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-environmentsWhen using the Vue parser that behavior does not exist, you have to set
parserOptions.ecmaVersion
manually.The text was updated successfully, but these errors were encountered: