Tweaked eslint rules

Tweaked default rule to instead prefer no space between function head and parameters. Added a few rules concerning ternaries. Switched to tabbed indentation for consistency.

function withoutSpace(x) {
    // ...
}

function withSpace (x) {
    // ...
}
Edited by Skriv

Merge request reports

Loading