"From the beginning men used God to justify the unjustifiable." β Salman Rushdie
Enforce text to be justified (justify2
) β
πΌ This rule is enabled in the π all
config.
π§ This rule is automatically fixable by the --fix
CLI option.
π‘ Examples β
js
// β Incorrect
if (a) {
b = c
function foo(d) {
e = f
}
}
// β
Correct
if (a) {
b = c
function foo(d) {
e = f
}
}
π§ Config β
js
{ rules: { 'ninja/justify2': 2 } }