id | title |
---|---|
config-type |
config-type |
Enabling this rule will result in an error being generated if the value in config
is not an object.
{
"rules": {
"config-type": "error"
}
}
{
"config": 8080
}
{
"config": ["port", "8080"]
}
{
"config": "port: 8080"
}
{
"config": {
"port": "8080"
}
}
- Introduced in version 0.1.0