-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added in a check for theme block settings validation
- Loading branch information
1 parent
e61fa07
commit 00fbe01
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
25 changes: 25 additions & 0 deletions
25
packages/theme-check-common/src/checks/presets-key-matches/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { AugmentedDependencies, CheckNodeMethod, LiquidCheckDefinition, LiquidHtmlNode, LiquidHtmlNodeTypes, RelativePath, Schema, Settings, Severity, SourceCodeType, StringCorrector, UriString, ValidateJSON } from "../.."; | ||
|
||
export const PresetsKeyMatches: LiquidCheckDefinition = { | ||
meta: { | ||
name: "PresetsKeyMatches", | ||
code: "PresetsKeyMatches", | ||
severity: Severity.ERROR, | ||
type: SourceCodeType.LiquidHtml, | ||
docs: { | ||
description: "", | ||
recommended: undefined, | ||
url: undefined | ||
}, | ||
schema: {}, | ||
targets: [], | ||
}, | ||
|
||
create(context){ | ||
return{ | ||
async Document(node){ | ||
debugger; | ||
} | ||
} | ||
} | ||
} |