Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix es2020 globals not being recognized #156

Merged
merged 1 commit into from
Oct 21, 2020
Merged

Commits on Oct 15, 2019

  1. Fix es2020 globals not being recognized

    Fixes standard/standard#1436
    
    The ecmaVersion in parserOptions is only for setting syntax support.
    
    From the docs: https://eslint.org/docs/user-guide/configuring
    
    > supporting ES6 syntax is not the same as supporting new ES6 globals
    
    Setting the es2020 env will actually set the globals:
    
    > adds all ECMAScript 2020 globals and automatically sets the ecmaVersion parser option to 11.
    faridnsh authored Oct 15, 2019
    Configuration menu
    Copy the full SHA
    dac20a4 View commit details
    Browse the repository at this point in the history