summary refs log tree commit diff stats
path: root/javascript/resistor-color/.eslintrc
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-08-27 09:36:49 +0530
committerAndinus <andinus@nand.sh>2021-08-27 09:36:49 +0530
commit346da9a7e08af19141a791978b3650bb150eafb0 (patch)
treec680fc4c2d30a0f5b35a64acb06f5ed4678a148e /javascript/resistor-color/.eslintrc
parent16f7aba7ef1b48d940bca66adb59d10527b885e8 (diff)
downloadexercism-346da9a7e08af19141a791978b3650bb150eafb0.tar.gz
JS: Solve resistor-color exercise
Diffstat (limited to 'javascript/resistor-color/.eslintrc')
-rw-r--r--javascript/resistor-color/.eslintrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/javascript/resistor-color/.eslintrc b/javascript/resistor-color/.eslintrc
new file mode 100644
index 0000000..b8dab20
--- /dev/null
+++ b/javascript/resistor-color/.eslintrc
@@ -0,0 +1,29 @@
+{
+  "root": true,
+  "parser": "babel-eslint",
+  "parserOptions": {
+    "ecmaVersion": 7,
+    "sourceType": "module"
+  },
+  "globals": {
+    "BigInt": true
+  },
+  "env": {
+    "es6": true,
+    "node": true,
+    "jest": true
+  },
+  "extends": [
+    "eslint:recommended",
+    "plugin:import/errors",
+    "plugin:import/warnings"
+  ],
+  "rules": {
+    "linebreak-style": "off",
+
+    "import/extensions": "off",
+    "import/no-default-export": "off",
+    "import/no-unresolved": "off",
+    "import/prefer-default-export": "off"
+  }
+}