Maxime Quandalle
2236e32674
✅ Corrige la configuration Eslint
2020-09-12 18:40:36 +02:00
Maxime Quandalle
5e625e15b5
⬆ Typescript 4.0
...
MAJ de typescript-eslint qui va avec. Voir notamment
https://github.com/typescript-eslint/typescript-eslint/releases/tag/v3.0.0
pour la modification de la configuration eslint.
2020-09-12 18:40:36 +02:00
Alexandre Hajjar
4f882e3727
✅ Eslint, prettier and tsc fixes
...
* eslint fixes batch
* fix @typescript-eslint/camelcase (=> warn)
* fix @typescript-eslint/consistent-type-assertions
* fix no-prototype-builtins
* @typescript-eslint/prefer-string-starts-ends-with => warn
* fix @typescript-eslint/prefer-regexp-exec
* fix prefer-const
* fix no-case-declarations
* fix @typescript-eslint/no-var-requires
* fix react/jsx-key
* fix react-hooks/rules-of-hooks
* fix typescript errors following eslint fixes. Includes downgrading:
** @typescript-eslint/no-unnecessary-type-assertion
** @typescript-eslint/no-inferrable-types
* apply prettier
* use `object` type whenever possible
2020-05-05 18:24:14 +02:00
Alexandre Hajjar
291b5ff3bc
✅ TS-aware eslint + in CI
...
* Use @typescript-eslint/parser
* Add npm/yarn scripts: prettier check and eslint on all files
* Run all of this in CI (along with eslintrc checker)
* Use typescript parser only for ts{x,} files
* Fix test & cypress sub-configs
* Fix .test.js + off explicit-function-return-type
2020-05-05 18:24:14 +02:00