Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Oct 2, 2023
1 parent c1ca4a8 commit 222ad7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"default": false,
"description": "Display reference counts above top level blocks and attributes."
},
"terraform.validation.earlyValidation": {
"terraform.validation.enableEnhancedValidation": {
"scope": "window",
"type": "boolean",
"default": true,
Expand Down
4 changes: 2 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface ExperimentalFeatures {
}

export interface ValidationOptions {
earlyValidation: boolean;
enableEnhancedValidation: boolean;
}

export function getInitializationOptions() {
Expand All @@ -40,7 +40,7 @@ export function getInitializationOptions() {
we tackle #791
*/
const validation = config('terraform').get<ValidationOptions>('validation', {
earlyValidation: true,
enableEnhancedValidation: true,
});
const terraform = config('terraform').get<TerraformOptions>('languageServer.terraform', {
path: '',
Expand Down

0 comments on commit 222ad7f

Please sign in to comment.