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-18 14:15:21 -0500
commit45f46efd5632714ae207ec8ff07cd8ca27c1a6f8 (patch)
tree468958678e85efe24ae55fbde9b994aee9135d09 /.eslintrc.yml
parent859118dbfef15f466760386c17db2c422522d01b (diff)
downloadmongo-45f46efd5632714ae207ec8ff07cd8ca27c1a6f8.tar.gz
SERVER-22539 Add an ESLint configuration file
(cherry picked from commit 5d96ef87f02c0aab2ecc3158f12509e54ec18f8f)
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