Browse Source

storage-node: change linting rules

Shamil Gadelshin 4 years ago
parent
commit
b60d93722e
1 changed files with 6 additions and 2 deletions
  1. 6 2
      storage-node/.eslintrc.js

+ 6 - 2
storage-node/.eslintrc.js

@@ -2,6 +2,7 @@ module.exports = {
     env: {
         node: true,
         es6: true,
+		mocha: true,
     },
     globals: {
         Atomics: "readonly",
@@ -11,5 +12,8 @@ module.exports = {
         "esnext",
         "esnext/style-guide",
         "plugin:prettier/recommended"
-    ]
-};
+    ],
+	"rules": {
+		"import/no-commonjs": "off" // remove after converting to TS.
+	}
+};