4 ms·
Ditto, this is the same thing I did for a 16,000+ line app. I used eslint ( https://eslint.org https://eslint.org ) and prettier ( https://prettier.io https://
by aizatto 9y ago
Ditto, this is the same thing I did for a 16,000+ line app.
I used eslint ( https://eslint.org https://eslint.org ) and prettier ( https://prettier.io https://prettier.io ), and using airbnb's JavaScript Style Guide as a reference point ( https://github.com/airbnb/javascript https://github.com/airbnb/javascript ), I would enable rules one by one. Then slowly rule by rule (commit by commit) I would clean up the code base.
- _pdp_ 9y agoOur modules currently are at 96398 lines of code (I am not counting the apps). It is still maintainable and perfectly understandable. Everything is split into module though and then every module has its own tests and its own examples. We lack proper documentation. It is not a problem yet but it could turn out to be in the future.