Skip to content

All of the best practices without any of the boilerplate.

Notifications You must be signed in to change notification settings

christianbundy/common-good

Repository files navigation

Common-Good

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.

Usage

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.

License

AGPL-3.0

About

All of the best practices without any of the boilerplate.

Resources

Stars

Watchers

Forks

Packages

No packages published