summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-09 16:06:30 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-09 16:38:31 -0500
commit5d96ef87f02c0aab2ecc3158f12509e54ec18f8f (patch)
tree9b7a1e525c8a160c0a3f342c037a0f4115cab322 /.eslintrc.yml
parentb01e99cf36b81b00def7e53f3ce4a7154770b84a (diff)
downloadmongo-5d96ef87f02c0aab2ecc3158f12509e54ec18f8f.tar.gz
SERVER-22539 Add an ESLint configuration file
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
new file mode 100644
index 00000000000..b8caee7a449
--- /dev/null
+++ b/.eslintrc.yml
@@ -0,0 +1,7 @@
+env:
+ es6: true
+ mongo: true
+
+rules:
+ no-extra-semi: 2
+ semi: 2