mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[eslint] Extend ecmaVersion up to 11/2020 (#37867)
This commit is contained in:
parent
9a98163b8a
commit
c394cd9a0f
2
types/eslint/index.d.ts
vendored
2
types/eslint/index.d.ts
vendored
@ -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;
|
||||
|
||||
2
types/eslint/ts3.1/index.d.ts
vendored
2
types/eslint/ts3.1/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user