Skip to content

Commit

Permalink
Add couple more linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed May 27, 2019
1 parent c7726af commit 559c356
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ rules:
parameters: first
CallExpression:
arguments: first
keyword-spacing: error
linebreak-style: error
max-len:
- error
- 100
no-trailing-spaces: error
no-var: error
padded-blocks:
- error
- never
prefer-const: error
quotes:
- error
Expand Down
2 changes: 2 additions & 0 deletions views/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
env:
jquery: true
rules:
indent: 'off'
max-len: 'off'

0 comments on commit 559c356

Please sign in to comment.