Skip to content
Snippets Groups Projects

add keyword spacing and detection of templates exp

Merged Skriv requested to merge Skriv/fc-pregmod:eslint-improvements into pregmod-master
1 unresolved thread

Adding two rules. The first is convention in the project already and the second is very useful for spotting incorrect curly braces in e.g. origin strings, slave.origin = "{He} was born a slave."

https://eslint.org/docs/rules/keyword-spacing

https://eslint.org/docs/rules/no-template-curly-in-string#disallow-template-literal-placeholder-syntax-in-regular-strings-no-template-curly-in-string

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