I have a simple config on the project that uses eslit
"rules": {
"indent": [2, 2, {"SwitchCase": 1}]
}
According to documentation, second '2' is for number of spaces used for indent (can be set to 4 or 6 or "tab").
What about the first '2'?
Old documentation uses '2' here while New documentation uses "error"
"indent": ["error", "tab"]
Both say nothing about it. What is it for?