]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/thrift/.eslintrc.json
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / .eslintrc.json
diff --git a/ceph/src/jaegertracing/thrift/.eslintrc.json b/ceph/src/jaegertracing/thrift/.eslintrc.json
new file mode 100644 (file)
index 0000000..0aae820
--- /dev/null
@@ -0,0 +1,24 @@
+{
+  "env": {
+    "es6": true,
+    "node": true
+  },
+  "extends": [
+    "eslint:recommended",
+    "plugin:prettier/recommended"
+  ],
+  "parserOptions": {
+    "ecmaVersion": 2017
+  },
+  "rules": {
+    "no-console": "off",
+    "no-var": "error",
+    "prefer-const": "error",
+    "no-constant-condition": [
+      "error",
+      {
+        "checkLoops": false
+      }
+    ]
+  }
+}