Skip to content

Commit

Permalink
chore(deps): add scaffolding to enforce linting, CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneRifle committed Jun 5, 2020
1 parent 7d8e5e3 commit 4992da3
Show file tree
Hide file tree
Showing 4 changed files with 3,433 additions and 47 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js
node_js:
- node

script:
- npm run lint
- npx commitlint-travis
6 changes: 6 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-case': [2, 'always', ['pascal-case', 'lower-case', 'camel-case']],
},
}
Loading

0 comments on commit 4992da3

Please sign in to comment.