Closed brw closed 1 month ago
@duduBTW I thought I'd fix the Solid lint errors/warnings but maybe it's better if you change it how you see fit so feel free to add to the branch
I'll take a look into the UI errors soon, should not be that hard to fix.
are you still going to fix the rest of the warnings btw @duduBTW?
oh or are those new warnings introduced by me merging master into this :Thinkies: I guess it might make more sense to just merge it now to avoid any newly added code going even more out of sync and maybe fix all of the warnings in one go later
nvm I just checked. Those warnings did already exist before merging master into this
Most of the warning are on legacy components, like the Bar
that will be replaced by the Slider
, the tags that will be replaced on the new tags PR etc.
The only concerning warning I saw was on the useControllableState
, however, it is complaining that the reactiveness will be lost because it is not used on jsx, but the result of useControllableState
will be used on the jsx, the function is only passing this value down, that can be verified by the fact that the reactivity still works. It looks like eslint is just getting lost to me, but I could be wrong.
I've been working on figuring out how to fix the reactivity warnings for useControllableState (it seems like ESLint actually does have a point, more on that later), but I think it's good to at least merge this for now and then I'll fix those issues in a separate PR
I guess I shouldn't delete Bar.tsx actually, maybe we'll need it for something at some point? Should really clean up all of the dead code at some point though
Would recommend squash merging btw
Just updating the ESLint config a bit
type: "module"
in package.json--fix
from thelint
script, add separatelint:fix
script for that (makes more sense imo).Still keep the oldlint:check
around for backwards compatibility