fullstack-hy2020 / fullstack-hy2020.github.io

https://fullstack-hy2020.github.io
Other
1.53k stars 3.84k forks source link

eslint config file errors #3745

Closed ksn-ark closed 1 month ago

ksn-ark commented 1 month ago

Is currently the standard as in docs https://typescript-eslint.io/getting-started/

Not explicitly importing causes an absolute seizure of crash fit as eslint crumbles in on itself and the text editor becomes unusable (at least in neovim (found out the hard way)). image

semi is defined at @/semi and not @typescript-eslint/semi

This is some witchcraft caused by the following two reasons: The rule for semi has been deprecated - https://typescript-eslint.io/rules/semi/ and moved - https://eslint.style/rules/ts/semi#ts-semi

tested with vs code just to be sure: image image

ksn-ark commented 1 month ago

Closed because it's a duplicate, sorry