refactor: merge branch 'main' into refactor/monorepo
This commit is contained in:
7
packages/hoppscotch-app/helpers/editor/linting/linter.ts
Normal file
7
packages/hoppscotch-app/helpers/editor/linting/linter.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type LinterResult = {
|
||||
message: string
|
||||
severity: "warning" | "error"
|
||||
from: { line: number; ch: number }
|
||||
to: { line: number; ch: number }
|
||||
}
|
||||
export type LinterDefinition = (text: string) => Promise<LinterResult[]>
|
||||
Reference in New Issue
Block a user