Skip to content

Commit

Permalink
[eslint] Extend ecmaVersion up to 11/2020 (DefinitelyTyped#37867)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenoble authored and sheetalkamat committed Aug 23, 2019
1 parent 9a98163 commit c394cd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/eslint/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion types/eslint/ts3.1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c394cd9

Please sign in to comment.