Skip to content
Snippets Groups Projects

Tweaked eslint rules

Merged Skriv requested to merge Skriv/fc-pregmod:eslint into pregmod-master

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading