Skip to content

Commit

Permalink
chore: commitlint and husky for linting commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mbetancurt committed May 31, 2020
1 parent 265560a commit 210cb33
Show file tree
Hide file tree
Showing 6 changed files with 1,445 additions and 210 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-notes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release-Notes-Preview

on:
pull_request:
branches: [ master ]
issue_comment:
types: [ edited ]

jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow --tags
- uses: snyk/release-notes-preview@v1.6.1
with:
releaseBranch: master
env:
GITHUB_PR_USERNAME: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ Deploy
* Run both projects, using the command “npm start” on the root folder of both projects.

### How to contribute?
Please refer to [the code of conduct](https://github.com/portableutm/webapp/blob/develop/CODE_OF_CONDUCT.md) and [the contribution guide](https://github.com/portableutm/webapp/blob/develop/CONTRIBUTING.md)
Please refer to [the code of conduct](https://github.com/portableutm/webapp/blob/develop/CODE_OF_CONDUCT.md) and [the contribution guide](https://github.com/portableutm/webapp/blob/develop/CONTRIBUTING.md).
Please note that we use ESLint for source code linting and we run a pre-commit local git hook to check that the commit messages [are properly formatted](https://www.conventionalcommits.org/en/v1.0.0/).


### Main concepts
An **Operation** is the authorization request for a future flight to be performed by one or more pilots. By using the WebApp the pilot can define the various characteristics of the flight including Volume reservations, start and end time.
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"module.exports = {extends: ['@commitlint/config-conventional']};"
Loading

0 comments on commit 210cb33

Please sign in to comment.