id | title |
---|---|
files-type |
files-type |
Enabling this rule will result in an error being generated if the value in files
is not an array.
{
"rules": {
"files-type": "error"
}
}
{
"files": 2
}
{
"files": "src, tests"
}
{
"files": {
"src": "true",
"tests": "true"
}
}
{
"files": ["src", "tests"]
}
- Introduced in version 0.1.0