[eslint] Extend ecmaVersion up to 11/2020 (#37867)

This commit is contained in:
Jason Lenoble 2019-08-23 17:30:23 +02:00 committed by Sheetal Nandi
parent 9a98163b8a
commit c394cd9a0f
2 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ export namespace Linter {
}
interface ParserOptions {
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 2015 | 2016 | 2017 | 2018;
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020;
sourceType?: 'script' | 'module';
ecmaFeatures?: {
globalReturn?: boolean;

View File

@ -404,7 +404,7 @@ export namespace Linter {
}
interface ParserOptions {
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 2015 | 2016 | 2017 | 2018;
ecmaVersion?: 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020;
sourceType?: 'script' | 'module';
ecmaFeatures?: {
globalReturn?: boolean;