Selaa lähdekoodia

refactor: move lint-staged config to bespoke file

Paul Razvan Berg 4 vuotta sitten
vanhempi
commit
6080e4eed5
2 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  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"
   ],
   "license": "WTFPL",
-  "lint-staged": {
-    "*.{js,json,md,sol,ts}": [
-      "prettier --config ./.prettierrc --write"
-    ]
-  },
   "private": true,
   "scripts": {
     "clean": "hardhat clean",