Skip to content

Commit

Permalink
feat(ls): implement JSON Path support in linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Jul 19, 2023
1 parent cc3681c commit d5aa517
Show file tree
Hide file tree
Showing 10 changed files with 2,396 additions and 394 deletions.
1,901 changes: 1,901 additions & 0 deletions .log1689779474599

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions packages/apidom-ls/src/apidom-language-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,12 @@ export interface QuickFixData {
export interface LinterMetaData {
quickFix?: QuickFixData[];
}

export enum LinterGivenFormat {
SEMANTIC = 'SEMANTIC',
JSONPATH = 'JSONPATH',
}

export interface LinterMeta {
code?: number;
message?: string;
Expand All @@ -384,6 +390,7 @@ export interface LinterMeta {
summary?: string;
recommended?: boolean;
given?: string[] | string;
givenFormat?: LinterGivenFormat;
}

export interface LinterCondition {
Expand Down
Loading

0 comments on commit d5aa517

Please sign in to comment.