summary refs log tree commit diff stats
path: root/javascript/square-root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/square-root/.eslintrc')
-rw-r--r--javascript/square-root/.eslintrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/javascript/square-root/.eslintrc b/javascript/square-root/.eslintrc
new file mode 100644
index 0000000..b8dab20
--- /dev/null
+++ b/javascript/square-root/.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"
+  }
+}