summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/thrift/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/jaegertracing/thrift/.eslintrc.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/jaegertracing/thrift/.eslintrc.json b/src/jaegertracing/thrift/.eslintrc.json
new file mode 100644
index 000000000..0aae820ec
--- /dev/null
+++ b/src/jaegertracing/thrift/.eslintrc.json
@@ -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
+ }
+ ]
+ }
+}