diff options
author | Alexander Early <alexander.early@gmail.com> | 2016-06-07 14:53:33 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2016-06-07 14:53:33 -0700 |
commit | f922af8a6e0cf1b8cdcd7929752308998ee7247d (patch) | |
tree | 1a8a7a234ff4d519e12952385a22c7b520684adc /.eslintrc | |
parent | 53a9381a4a360cd7e1b842563c3f7327d16c5752 (diff) | |
download | async-f922af8a6e0cf1b8cdcd7929752308998ee7247d.tar.gz |
add eslintrc
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..d6b6003 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,47 @@ +{ + "env": { + "browser": true, + "node": true, + "es6": true + }, + "parserOptions": { + "ecmaVersion": 6, + "sourceType": "module" + }, + "globals": { + "self": true, + "define": true, + "describe": true, + "context": true, + "it": true, + "before": true, + "after": true + }, + "rules": { + "eqeqeq": 0, + "guard-for-in": 2, + "indent": [ + 2, + 4, + { + "SwitchCase": 1 + } + ], + "no-caller": 2, + "no-undef": 2, + "no-unused-vars": 2, + "no-eval": 2, + "comma-style": [ + 2, + "last" + ], + "semi": 0, + "no-eq-null": 2, + "no-unused-expressions": 0, + "no-loop-func": 2, + "dot-notation": 0, + "valid-jsdoc": ["error", { + "requireReturn": false + }] + } +} |