More strict eslint options

This commit is contained in:
Vitaly Puzrin 2016-12-15 03:04:14 +03:00
parent 3550aa653b
commit bbf99f5b57
2 changed files with 11 additions and 2 deletions

View file

@ -1,9 +1,16 @@
env:
node: true
es6: true
parserOptions:
ecmaVersion: 5
globals:
Uint8Array: false
Uint16Array: false
Int32Array: false
plugins:
- nodeca
- nodeca
rules:
accessor-pairs: 2

2
examples/.eslintrc.yml Normal file
View file

@ -0,0 +1,2 @@
parserOptions:
ecmaVersion: 6