summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Bengtsson <mattias.jc.bengtsson@gmail.com>2016-01-31 17:52:17 +0100
committerMattias Bengtsson <mattias.jc.bengtsson@gmail.com>2016-01-31 17:52:17 +0100
commit802487e1e632be7a95ec76444bed7da8d82505ca (patch)
tree931423ac8126130f3cbc16c04fec9d53eda8f04f
parent8a5ef01638a77f54a9b92b32860c27e40faf9812 (diff)
downloadgnome-maps-wip/mattiasb/eslint-1.6-1.tar.gz
-rw-r--r--.eslintrc.yaml50
1 files changed, 24 insertions, 26 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 6a659d6e..b9a7c104 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -1,32 +1,30 @@
+extends: "eslint:recommended"
root: true
env:
es6: true
rules:
- comma-dangle:
- - 2
- - "never"
- no-cond-assign:
- - 2
- - "always"
- no-console:
- - 2
- no-constant-condition:
- - 2
- no-debugger:
- - 2
- no-dupe-args:
- - 2
- no-dupe-keys:
- - 2
- no-duplicate-case:
- - 2
- no-empty-character-class:
- - 2
- no-empty:
- - 2
- no-ex-assign:
- - 2
- no-extra-boolean-cast:
- - 2
+ no-unused-vars:
+ - 0
+
+globals:
+ imports: false
+ log: false
+ InternalError: false
+ uneval: false
+ Iterator: false
+ StopIteration: false
+ Debugger: false
+ window: false
+ log: false
+ logError: false
+ print: false
+ printerr: false
+ GjsFileImporter: false
+ imports: false
+ ARGV: false
+ ## Not in globals.js
+ pkg: false
+ _: false
+