Type object
File match .solidarity .solidarity.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/solidarity/latest.json
Source https://www.schemastore.org/solidaritySchema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

A rule-set and config for the Solidarity JSON checker

Properties

requirements Record<string, object[]> required

List of requirement rules for your particular environment

config object
1 nested properties
output string

Identify what kind output should happen when a check is called

Values: "moderate" "verbose" "silent"

Definitions

cli object

CLI Rule

rule enum required
Values: "cli"
binary string required
semver string
version string
line string | integer
matchIndex integer
platform enum
Values: "darwin" "macos" "freebsd" "linux" "sunos" "win32" "windows"
error string
ci boolean
dir object

Dir Rule

rule enum required
Values: "dir" "directory"
platform enum
Values: "darwin" "macos" "freebsd" "linux" "sunos" "win32" "windows"
error string
ci boolean
file object

File Rule

rule enum required
Values: "file"
platform enum
Values: "darwin" "macos" "freebsd" "linux" "sunos" "win32" "windows"
error string
ci boolean
env object

ENV Rule

rule enum required
Values: "env"
platform enum
Values: "darwin" "macos" "freebsd" "linux" "sunos" "win32" "windows"
error string
ci boolean
shell object

Shell Rule

rule enum required
Values: "shell"
match string required

A regexp to search the output.

platform enum
Values: "darwin" "macos" "freebsd" "linux" "sunos" "win32" "windows"
error string
ci boolean
custom object

Custom Rule

rule enum required
Values: "custom"
plugin string required
name string required
platform enum
Values: "darwin" "macos" "freebsd" "linux" "sunos" "win32" "windows"
error string
ci boolean
match string

A regexp to search the output.