Configure eslint
This commit is contained in:
parent
e9c4deea5f
commit
140ea48d5c
1 changed files with 21 additions and 0 deletions
21
.eslintrc.yml
Normal file
21
.eslintrc.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
env:
|
||||
browser: true
|
||||
extends: 'eslint:recommended'
|
||||
rules:
|
||||
indent:
|
||||
- error
|
||||
- 4
|
||||
linebreak-style:
|
||||
- error
|
||||
- unix
|
||||
quotes:
|
||||
- error
|
||||
- single
|
||||
semi:
|
||||
- error
|
||||
- always
|
||||
no-console:
|
||||
- error
|
||||
- allow:
|
||||
- warn
|
||||
- error
|
Loading…
Add table
Add a link
Reference in a new issue