LintingResults: { allInvolvedIds< L extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop", >( this: void, res: undefined | LintingResults<L>, ): Set<NodeId>; allLocations< L extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop", >( this: void, res: undefined | LintingResults<L>, ): [ startLine
: number, startColumn
: number, endLine
: number, endColumn
: number, f
?: string, ][]; hasLocation<R extends LintingResult>( this: void, res: R, ): res is R & { loc: [ startLine
: number, startColumn
: number, endLine
: number, endColumn
: number, f
?: string, ]; }; isError< Name extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop", >( this: void, o: LintingResults<Name>, ): o is LintingResultsError; isSuccess< Name extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop", >( this: void, o: LintingResults<Name>, ): o is LintingResultsSuccess<Name>; stringifyError(this: void, __namedParameters: LintingResultsError): string; unpackSuccess< Name extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop", >( this: void, o: LintingResults<Name>, ): LintingResultsSuccess<Name>;} Type declaration
allInvolvedIds:function
allInvolvedIds< L extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop",>( this: void, res: undefined | LintingResults<L>,): Set<NodeId> Type Parameters
- L extends
| "deprecated-functions"
| "file-path-validity"
| "seeded-randomness"
| "absolute-file-paths"
| "unused-definitions"
| "naming-convention"
| "network-functions"
| "dataframe-access-validation"
| "dead-code"
| "useless-loop"
Returns Set<NodeId>
allLocations:function
allLocations< L extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop",>( this: void, res: undefined | LintingResults<L>,): [ startLine
: number, startColumn
: number, endLine
: number, endColumn
: number, f
?: string,][] Type Parameters
- L extends
| "deprecated-functions"
| "file-path-validity"
| "seeded-randomness"
| "absolute-file-paths"
| "unused-definitions"
| "naming-convention"
| "network-functions"
| "dataframe-access-validation"
| "dead-code"
| "useless-loop"
Returns [
startLine: number,
startColumn: number,
endLine: number,
endColumn: number,
f?: string,
][]
hasLocation:function
hasLocation<R extends LintingResult>( this: void, res: R,): res is R & { loc: [ startLine
: number, startColumn
: number, endLine
: number, endColumn
: number, f
?: string, ];} Returns res is R & {
loc: [
startLine: number,
startColumn: number,
endLine: number,
endColumn: number,
f?: string,
];
}
isError:function
isError< Name extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop",>( this: void, o: LintingResults<Name>,): o is LintingResultsError Type Parameters
- Name extends
| "deprecated-functions"
| "file-path-validity"
| "seeded-randomness"
| "absolute-file-paths"
| "unused-definitions"
| "naming-convention"
| "network-functions"
| "dataframe-access-validation"
| "dead-code"
| "useless-loop"
isSuccess:function
isSuccess< Name extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop",>( this: void, o: LintingResults<Name>,): o is LintingResultsSuccess<Name> Type Parameters
- Name extends
| "deprecated-functions"
| "file-path-validity"
| "seeded-randomness"
| "absolute-file-paths"
| "unused-definitions"
| "naming-convention"
| "network-functions"
| "dataframe-access-validation"
| "dead-code"
| "useless-loop"
stringifyError:function
unpackSuccess:function
unpackSuccess< Name extends | "deprecated-functions" | "file-path-validity" | "seeded-randomness" | "absolute-file-paths" | "unused-definitions" | "naming-convention" | "network-functions" | "dataframe-access-validation" | "dead-code" | "useless-loop",>( this: void, o: LintingResults<Name>,): LintingResultsSuccess<Name> Type Parameters
- Name extends
| "deprecated-functions"
| "file-path-validity"
| "seeded-randomness"
| "absolute-file-paths"
| "unused-definitions"
| "naming-convention"
| "network-functions"
| "dataframe-access-validation"
| "dead-code"
| "useless-loop"
Helper functions for working with LintingResults.