ESLint config (used with Prettier)
{
"rules": {
"one-var-declaration-per-line": ["error", "always"],
"indent": ["error", 2, {
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 3
}
}],
"no-trailing-spaces": "error",
"spaced-comment": ["error", "always"],
"lines-around-directive": ["error", "always"],
"padded-blocks": ["error", "always"]
}
}