Menü schliessen
Created: December 6th 2024
Categories: Common Web Development,  JavaScript Development
Author: Tim Fürer

Linting: Improve Website Code with ESLint and Stylelint

Tags:  CSS,  Javascript,  web
Donation Section: Background
Monero Badge: QR-Code
Monero Badge: Logo Icon Donate with Monero Badge: Logo Text
82uymVXLkvVbB4c4JpTd1tYm1yj1cKPKR2wqmw3XF8YXKTmY7JrTriP4pVwp2EJYBnCFdXhLq4zfFA6ic7VAWCFX5wfQbCC

Recently, we've made public our default ESLint (& ESLint Stylistic) and Stylelint configurations / rules for web projects. Linting systems help us reduce mistakes, improve quality, and enforce a more consistent code style through static analysis. Static analysis is done before the code is run and thus can be employed in the editor right as we write it. This means we have less testing and debugging to do in runtime and also a lower risk for bugs to make it into production. ESLint is used for linting JavaScript, while Stylelint is used for CSS.

Check out our web linting configs on GitHub