Interface: ValidationIssue
Defined in: packages/cspell-lib/src/lib/Models/ValidationIssue.ts:4
Extends
ValidationResult
Properties
hasPreferredSuggestions?
optionalhasPreferredSuggestions:boolean
Defined in: packages/cspell-types/dist/index.d.mts:107
This setting is used for common typo detection.
true- if it has been determined if preferred suggestions are available.false- if preferred suggestions are NOT available.undefined- if it has not been determined.
Since
9.1.0
Inherited from
ValidationResult.hasPreferredSuggestions
hasSimpleSuggestions?
optionalhasSimpleSuggestions:boolean
Defined in: packages/cspell-types/dist/index.d.mts:99
true - if it has been determined if simple suggestions are available.
false - if simple suggestions are NOT available.
undefined - if it has not been determined.
Since
9.1.0
Inherited from
ValidationResult.hasSimpleSuggestions
isFlagged?
optionalisFlagged:boolean
Defined in: packages/cspell-lib/src/lib/Models/ValidationResult.ts:7
Inherited from
ValidationIssue.isFlagged
isFound?
optionalisFound:boolean
Defined in: packages/cspell-lib/src/lib/Models/ValidationResult.ts:8
Inherited from
ValidationIssue.isFound
issueType?
optionalissueType:IssueType
Defined in: packages/cspell-types/dist/index.d.mts:88
Issues are spelling issues unless otherwise specified.
Inherited from
ValidationResult.issueType
length?
optionallength:number
Defined in: packages/cspell-types/dist/index.d.mts:43
Assumed to match text.length if the text has not been transformed.
Inherited from
ValidationResult.length
line
line:
TextOffset
Defined in: packages/cspell-lib/src/lib/Models/ValidationResult.ts:6
Inherited from
ValidationResult.line
message?
optionalmessage:string
Defined in: packages/cspell-types/dist/index.d.mts:92
Optional message to show.
Inherited from
ValidationResult.message
offset
offset:
number
Defined in: packages/cspell-types/dist/index.d.mts:39
The offset into the document.
Inherited from
ValidationResult.offset
suggestions?
optionalsuggestions:string[]
Defined in: packages/cspell-lib/src/lib/Models/ValidationIssue.ts:5
suggestionsEx?
optionalsuggestionsEx:ExtendedSuggestion[]
Defined in: packages/cspell-lib/src/lib/Models/ValidationIssue.ts:6
text
text:
string
Defined in: packages/cspell-types/dist/index.d.mts:35
The text found at the offset. If the text has been transformed, then the length might not match length.
Example: Original: cafe\u0301, text: café
Inherited from
ValidationResult.text