Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Update eslint config to flat config
Merged did:key:z6MkkfM3...sVz5 opened 1 year ago

Since the legacy config is being deprecated at some point, we should start moving to the eslint flat config.

I avoided the tseslint config helper function so we avoid wrapping magic.

The configs are being merged from top to bottom.

  1. Are the recommended configs from eslint, svelte, prettier, etc.
  2. Then come the svelte configs that apply only to svelte files
  3. Followed by everything typescript
  4. And lastly there are the rules that apply to all files, followed by the ignored folders for all checking.

This seems to have triggered more checking since any checks in svelte files have appeared and the $$Generic type that is being deprecated had to be rewritten.

check check-visual check-unit-test check-httpd-api-unit-test check-e2e check-build

👉 Preview 👉 Workflow runs 👉 Branch on GitHub

did:key:z6MkkfM3...sVz5 opened with revision e8dc16c7 on base 15e258da +314 -257 1 year ago

Since the legacy config is being deprecated at some point, we should start moving to the eslint flat config.

I avoided the tseslint config helper function so we avoid wrapping magic.

The configs are being merged from top to bottom.

  1. Are the recommended configs from eslint, svelte, prettier, etc.
  2. Then come the svelte configs that apply only to svelte files
  3. Followed by everything typescript
  4. And lastly there are the rules that apply to all files, followed by the ignored folders for all checking.

This seems to have triggered more checking since any checks in svelte files have appeared and the $$Generic type that is being deprecated had to be rewritten.

check check-visual check-unit-test check-httpd-api-unit-test check-e2e check-build

👉 Preview 👉 Workflow runs 👉 Branch on GitHub

did:key:z6MkkfM3...sVz5 pushed revision 2 7a683ea9 on base 15e258da +314 -259 1 year ago

Removed unnecessary @typescript-eslint/eslint-plugin package

did:key:z6MkkfM3...sVz5 pushed revision 3 b6aa03b3 on base 15e258da +311 -259 1 year ago

Remove unused node globals

did:key:z6MkkfM3...sVz5 pushed revision 4 812628bf on base fb32e01a +366 -277 1 year ago

Fix eslint config so it behaves equal to the current implementation

did:key:z6MkkfM3...sVz5 pushed revision 5 5c03d8b8 on base fb32e01a +368 -276 1 year ago

Add no-empty-function rule again

did:key:z6MkkfM3...sVz5 pushed revision 6 90cc74a1 on base ffd49e82 +369 -277 1 year ago

Rebase

did:key:z6MkkfM3...sVz5 pushed revision 7 a6f8137e on base ffd49e82 +370 -276 1 year ago

Fix no-empty-function rule cases

rudolfs accepted 1 year ago
rudolfs merged revision a6f8137e at 0c7ea70c 1 year ago