add linter configuration

This commit is contained in:
Alexander Meindl
2017-12-11 21:11:18 +01:00
parent 7a3d335065
commit a53fd43ef4
2 changed files with 20 additions and 0 deletions

17
.eslintrc.yml Normal file
View 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
View File

@@ -0,0 +1,3 @@
linters:
LineLength:
max: 140