add linter configuration
This commit is contained in:
17
.eslintrc.yml
Normal file
17
.eslintrc.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
env:
|
||||
browser: true
|
||||
jquery: true
|
||||
extends: 'eslint:recommended'
|
||||
rules:
|
||||
indent:
|
||||
- error
|
||||
- 2
|
||||
linebreak-style:
|
||||
- error
|
||||
- unix
|
||||
quotes:
|
||||
- error
|
||||
- single
|
||||
semi:
|
||||
- error
|
||||
- always
|
||||
3
.slim-lint.yml
Normal file
3
.slim-lint.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
linters:
|
||||
LineLength:
|
||||
max: 140
|
||||
Reference in New Issue
Block a user