react-dropzone / file-selector

Convert a DragEvent or file input to a list of File objects
MIT License
95 stars 32 forks source link

Find a replacement for TSLint #101

Closed jonkoops closed 1 day ago

jonkoops commented 4 days ago

We're still using TSLint which has been deprecated for some time now. Ideally we move to a different stack for linting. The most mature option is typescript-eslint, which is recommended as the official replacement of TSLint. It does carry a lot of dependencies and needs ESLint to function.

Alternatively, there has been a lot of development around OXC (JavaScript Oxidation Compiler), specifically oxclint. This linter is a lot less mature but carries no dependencies and is extremely fast due to it being a native binary, but also lacks all the features such as type-aware linting.

@rolandjitsu I think for now we should probably go for the ESLint + typescript-eslint combo, even if it is a bit more maintenance. WDYT?

rolandjitsu commented 4 days ago

@jonkoops I think that's the sensible thing to do. ESLint w/ typescript support is probably the way to go. And use the eslint-plugin-prettier/recommended, should be good enough.

rolandjitsu commented 4 days ago

But I like oxc! It's a cool rust project (big fan of rust here).

jonkoops commented 4 days ago

Great! Then I will try and set something up.

jonkoops commented 1 day ago

This has been resolved under #102