We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
global
1 parent fa35e22 commit 820965cCopy full SHA for 820965c
packages/experimental-utils/src/ts-eslint/Linter.ts
@@ -119,6 +119,8 @@ namespace Linter {
119
export type RuleEntry = RuleLevel | RuleLevelAndOptions;
120
export type RulesRecord = Partial<Record<string, RuleEntry>>;
121
122
+ export type GlobalVariableOption = 'readonly' | 'writable' | 'off' | boolean;
123
+
124
// https://github.com/eslint/eslint/blob/v6.8.0/conf/config-schema.js
125
interface BaseConfig {
126
$schema?: string;
@@ -133,7 +135,7 @@ namespace Linter {
133
135
/**
134
136
* The global variable settings.
137
*/
- globals?: { [name: string]: boolean };
138
+ globals?: { [name: string]: GlobalVariableOption };
139
140
* The flag that disables directive comments.
141
0 commit comments