basementdevs / twitch-better-profile

Twitch Better Profile - A new way to first interact with users on Twitch.
55 stars 14 forks source link

chore: setup lint config #15

Closed gvieira18 closed 2 months ago

gvieira18 commented 2 months ago

Currently the api and extension don't have a lint config, so each dev uses their own config from the IDE's. In my opnion this can be complex in the future for reviewing some pull requests.

I know on Javascript we can use/combine some options to lint the code:

Note that the lint config can be annoying when using Plasmo, like the empty object at the beginning of the file.

For Rust, the documentation mentions using rustfmt and clippy, but I don't know if there are any other options.

henrique-leme commented 2 months ago

I can work on the lint configuration for the TS side of the project if someone haven't started it yet