Commit Graph

7 Commits

Author SHA1 Message Date
NightKev
39abac65be
Add eslint rule to enforce indenting of case statements (#4692) 2024-10-20 02:44:36 +01:00
torranx
644c078a6c add new lint rules....again 2024-10-04 13:08:31 +08:00
flx-sta
14ace40634
[Misc] eslint rule to prevent .js imports (#4160)
* add `eslint-plugin-import-x` module

* add import eslint rules

* remove .js extensions

* rename account.spec to account.test

* move fontFace.setup into `setupFiles`

instead of importing it in `vitest.setup.ts`
2024-09-10 22:34:50 +02:00
Adrián T.
f417a262de
[Misc] Update eslint.config.js for space after commas (#3649)
* Update eslint.config.js for space after commas

* run eslint

* run eslint, again
2024-08-23 16:36:10 +08:00
flx-sta
cb7dbe601a
[Dependencies] Update to resolve install warnings (after beta rebase) (#3213)
* bump up `vitest` and `eslint` version to resolve inflight warning...

- remove and disable `eslint-plugin-import` due to not supporting `eslint@9` yet (can be reactivated later)
- bump `eslint` to `9.7.0`.
  - bump `@typescript-eslint/eslint-plugin` to `8.0.0-alpha.54`
  - update `@typescript-eslint/parser` to `8.0.0-alpha.54`
  - update `typescript-eslint` to `8.0.0-alpha.54`
- update `vitest` to `2.0.4`
  - update `@vitest/coverage-istanbul` to `2.0.4`

* remove `vite-plugin-fs` dependency...

- removed `api-generatort-script.ts` file (this was in consultations with devs https://discord.com/channels/1125469663833370665/1250836282926436413/1266469312609259550)

* bump `vite` to version 5

* fix pokemonSprite.test.ts to run locally

It should ignore hidden (starting with `.`) files!

* migrate some `typescript-eslint` to @stylistic/eslint-plugin-ts

as stated here: https://typescript-eslint.io/blog/deprecating-formatting-rules#upgrading-to-eslint-stylistic

- fix eslint complaints inside `i18next.d.ts`

* delete `pokenode-ts` dependency

* remove `phaser3spectorjs`

It's a WebGL debugging tool but I've never seen anyone using it

* remove `axios` and `axios-cache-interceptor` dependency

They are unused

* remove unused `json-beautify` dependency

* move `dependency-cruiser` to dev dependencies

* Revert "remove `phaser3spectorjs`"

This reverts commit 725e681538.

* fix pokemonSprite.test.ts (invert condition)

whops..

* move `@hpcc-js/wasm` to devDependencies

See #2275

* move `@types/jsdom` to devDependencies

See #2275

* update package-lock.json
2024-07-30 00:29:34 -04:00
Jakub Hanko
9a45e46900
Add empty line at the end of config 2024-05-24 16:41:46 +02:00
Jakub Hanko
80cd570b14
Add ESLint flat config support 2024-05-24 16:37:42 +02:00