Skip to content

Commit

Permalink
chore(style): stronger lint rules + lint commit msg
Browse files Browse the repository at this point in the history
  • Loading branch information
huafu committed Sep 3, 2018
1 parent 16f125a commit 2ae020b
Show file tree
Hide file tree
Showing 8 changed files with 998 additions and 56 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dist/
node_modules/
e2e/__cases__/
coverage/
docs/
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ tslint.json

# Github Pages
docs

commitlint.config.js
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
semi: false
printWidth: 80
printWidth: 120
singleQuote: true
tabWidth: 2
useTabs: false
Expand Down
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
}
Loading

0 comments on commit 2ae020b

Please sign in to comment.