atomicojs / atomico

Atomico a micro-library for creating webcomponents using only functions, hooks and virtual-dom.
https://atomicojs.dev
MIT License
1.15k stars 43 forks source link

Setup ESLint #115

Closed efoken closed 10 months ago

efoken commented 10 months ago

A whole while ago I mentioned that it maybe make sense to setup ESLint in this project, so I did now. As starting point I used the base config from Airbnb Base and disabled a lot of stuff, that do not make sense or can be fixed later.

This currently only lints JS files and not TypeScript. This would be one of the next steps.

@UpperCod are you fine with using Airbnb config, or should we use another one? I also tried to use Standard, but Airbnb is a lot better. At some time we can maybe create an @atomico/eslint-config package to use the same config in other Atomico packages too.

UpperCod commented 10 months ago

Hi, thank you for your PR. Can you submit this PR to the "workspace" branch? To work together and, for example, add Husky and .vscode.