svelte-society/sveltesociety.dev

Need to define the code style rules

MacFJA opened this issue · 2 comments

I see in the code lots a different code style:

  • Tab vs spaces
  • 2 spaces vs 4 spaces indentation
  • semicolon at end of statement vs no semicolon
  • Script/Template/Style vs Script/Style/Template
  • new line between import and export vs no new line
  • etc.

I think rules should be defined and a CI check should check if they are respected or not.

I think this definitely makes sense to add. I'd love to have something that runs this when someone opens a PR