Commit Graph
7 Commits
Author SHA1 Message Date
Sebastian Martinez 94985d0489 Fix HMR issue with customElements 2023-11-15 15:46:15 +01:00
Thomas Scholtes 50dd25a6b8 Use ESlint warnings and Prettier config
* We remove all styling related lints and use `eslint-config-prettier`.
  There’s no need to bother developers with styling lints because
  Prettier already takes care of that. (This is the [recommended
  integration with Prettier][1])

* We use the “warning” level for lints that are code style related. This
  allows developers to distinguish issues that need to be fixed now
  (like type errors) and issues that can be fixed later (like style
  errors). We do enforce all lints on CI by settings
  `--max-warnings=0`.

[1]: https://prettier.io/docs/en/integrating-with-linters.html

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-11 11:08:27 +02:00
Rūdolfs Ošiņš ee61864642 Cache eslint and prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-30 09:53:30 +02:00
Sebastian Martinez e8325294fa Join check and check-format scripts into one
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 10:35:57 +01:00
Rūdolfs Ošiņš f215f9f4fd Make sure svelte-check checks component specs
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-07 17:48:06 +02:00
Sebastian Martinez 286cb1cd21 Improve testing suite
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-03-24 15:05:15 +01:00
Alexis Sellier 9a11bb8ebd Combine svelte-check with tsc check
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-21 13:58:46 +02:00