Commit Graph
3 Commits
Author SHA1 Message Date
Sebastian Martinez 3bdf21ec06 Update dependencies 2023-11-15 12:51:02 +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
Sebastian Martinez 7dab02c273 Change .eslintrc file format to js and add tsconfigRootDir
Depending on the environment and the code editor, there can be issues
for eslint to find the tsconfig.json file.
To avoid that we can define the base folder with `tsconfigRootDir`

refs: https://github.com/typescript-eslint/typescript-eslint/issues/251

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-19 15:36:17 +02:00