Browse Source

refactor: move lint-staged config to bespoke file

Paul Razvan Berg 4 năm trước cách đây
mục cha
commit
6080e4eed5
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 0
      .lintstagedrc
  2. 0 5
      package.json

+ 5 - 0
.lintstagedrc

@@ -0,0 +1,5 @@
+{
+  "*.{js,json,md,sol,ts}": [
+    "prettier --config ./.prettierrc --write"
+  ]
+}

+ 0 - 5
package.json

@@ -62,11 +62,6 @@
     "solidity"
     "solidity"
   ],
   ],
   "license": "WTFPL",
   "license": "WTFPL",
-  "lint-staged": {
-    "*.{js,json,md,sol,ts}": [
-      "prettier --config ./.prettierrc --write"
-    ]
-  },
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {
     "clean": "hardhat clean",
     "clean": "hardhat clean",