Przeglądaj źródła

chore: update solhint rules

Paul Razvan Berg 4 lat temu
rodzic
commit
dc06ee798a
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      .solhint.json

+ 7 - 3
.solhint.json

@@ -4,13 +4,17 @@
   "rules": {
     "code-complexity": ["error", 7],
     "compiler-version": ["error", "^0.7.2"],
+    "const-name-snakecase": "off",
     "constructor-syntax": "error",
     "func-visibility": ["error", { "ignoreConstructors": true }],
     "max-line-length": ["error", 120],
     "not-rely-on-time": "off",
-    "prettier/prettier": ["error", {
-      "endOfLine":"auto"
-    }],
+    "prettier/prettier": [
+      "error",
+      {
+        "endOfLine": "auto"
+      }
+    ],
     "reason-string": ["warn", { "maxLength": 64 }]
   }
 }