Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.12 KB

CONTRIBUTING.md

File metadata and controls

55 lines (35 loc) · 1.12 KB

Please see the Contributing to Karma guide for information on contributing to this project.

Pull Requests

Before filing a PR, ensure that:

  • Tests pass.
  • Linting passes.
  • Commit linting passes.

See more details in each subsection below.

Testing

To run unit tests execute:

npm run unit-test

To run integration tests execute:

npm run integration-test

Tip: you can run both unit and integration tests in a single step via: npm test.

Linting

To lint your contribution execute:

npm run lint

There are some lint problems that can be auto-fixed for you. Try the following command to trigger auto-fix:

npm run lint --fix

Commit Linting

We enforce Angular's Commit Message Format in our commit history. To verify that your commits are syntactically correct, execute:

npm run commitlint -- \
  --verbose \
  --from `git merge-base origin/master HEAD`