Improve your code without configuration or controversy. This is a JavaScript module that bundles the most popular code formatting and static analysis tools so that you don't have to install or configure them on your own. Each tool works automatically without any configuration, which reduces the number of problems your project needs to manage.
- Depcheck -- The dependencies you use should match
package.json
. - ESLint -- Your JavaScript should avoid common problems.
- Prettier -- All of your code should be formatted predictably.
- StyleLint -- Your styles (CSS, SCSS, etc) should avoid common problems.
Install with npm:
npm install --save-dev common-good
Add common-good to package.json
:
{
"scripts": {
"fix": "common-good fix",
"test": "common-good test"
}
}
Resolve small problems with npm run fix
and test code with npm test
.
AGPL-3.0