0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 03:47:27 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Ben McCann
ca6e9b5745
chore: validate promise handling (#11842)
* chore: don't swallow rejected promise errors

* ignore rules rather than adding catch blocks. add async to functions returning promises

* remove redundant asyncs

* remove extremely pointless rule

* remove another daft rule

* this is what typescript is for

* again, typescript already has this covered, we don't need it

* simplify

* this rule is harmless

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
2024-06-04 15:26:59 -04:00
Rich Harris
50a9020d00 reorder eslint ignores 2024-05-13 18:41:33 -04:00
Rich Harris
faa2e937ab
chore: exclude local playground from eslint (#11596) 2024-05-13 17:34:50 -04:00
Rich Harris
94b4268ce3
chore: markdown runtime errors/warnings (#11304)
* chore: markdown runtime warnings

* on second thoughts

* start adding errors too

* lint

* centralise
2024-04-24 09:30:55 -04:00
Rich Harris
73490bbb8e
chore: markdown errors (#11294)
* rename errors.js to errors-tmp.js

* start porting errors

* generate markdown files for more errors

* convert parse errors

* convert css errors

* convert special_element errors

* convert runes errors

* convert element errors

* more

* more

* more

* more

* more

* more

* fix some tests

* fix some tests

* more tests

* remove unused error

* prettierignore

* weird

* ugh

* lint
2024-04-23 10:39:37 -04:00
Jeremiasz Major
0cf2e98322
chore: upgrade eslint to v9 (#11108) 2024-04-10 16:02:03 -07:00