Skip to content

Project gathering all different eslint config used in our projects

License

Notifications You must be signed in to change notification settings

dixeed/eslint-config

Repository files navigation

Eslint config

Project gathering all different eslint config used in our projects


styled with prettier Build Status npm (scoped) semantic-release Commitizen friendly license

Usage

Install the package as dev dependency in your project: npm install -D @dixeed/eslint-config or yarn add -D @dixeed/eslint-config

Create a an .eslintrc file in your project and extends the desired configuration. This repo contains 2 configurations:

  • Base conf: available as @dixeed/eslint-config
  • AngularJS conf: available as @dixeed/eslint-config/angularjs

To use one of them write an extends field on the aforementioned .eslintrc i.e :

{
  "extends": ["@dixeed/eslint-config"]
}

Requirements

The configuration will require you to install its peer dependencies into your project for it to work.

Contributing

This project uses semantic-release to automatically handle semver bumps based on the commits messages.

To simplify commits messages redaction you can use npm run cm instead of git commit. To use that command make sure to git add your changes before.

This repo is configured to forbid commit messages that do not follow the Angular conventional changelog commit message format.