Solidarity
CLI config for enforcing environment settings
| 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
Definitions
cli
object
CLI Rule
rule
enum
required
binary
string
required
semver
string
version
string
line
string | integer
matchIndex
integer
platform
enum
error
string
ci
boolean
dir
object
Dir Rule
rule
enum
required
platform
enum
error
string
ci
boolean
file
object
File Rule
rule
enum
required
platform
enum
error
string
ci
boolean
env
object
ENV Rule
rule
enum
required
platform
enum
error
string
ci
boolean
shell
object
Shell Rule
rule
enum
required
match
string
required
A regexp to search the output.
platform
enum
error
string
ci
boolean
custom
object
Custom Rule
rule
enum
required
plugin
string
required
name
string
required
platform
enum
error
string
ci
boolean
match
string
A regexp to search the output.