.eslint updates

1. combine into single root level .eslint file
2. remove sort imports rule
3. change no-undef to warning to catch uses of global iD
4. use text descriptions "off","warn","error" instead of numeric codes
This commit is contained in:
Bryan Housel
2016-07-19 11:50:08 -04:00
parent 604d1e2719
commit 26c274f91c
3 changed files with 60 additions and 70 deletions
-15
View File
@@ -1,15 +0,0 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
extends: [
"plugin:import/errors"
],
rules: {
"no-invalid-this": 0
},
globals: {
"iD": false,
}
}