Skip to content

Commit 2ecf0f5

Browse files
committed
build: migrate husky
1 parent 61af61f commit 2ecf0f5

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

Diff for: package.json

+12-15
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"coverage": "nyc report --reporter=text-lcov | coveralls",
7676
"lint": "standard-markdown README.md && standard",
7777
"postrelease": "npm run release:tags && npm run release:github && ci-publish",
78-
"precommit": "lint-staged",
7978
"prerelease": "npm run update:check",
8079
"pretest": "npm run lint",
8180
"pretty": "prettier-standard index.js {core,test,bin,scripts}/**/*.js --single-quote --print-width 100",
@@ -99,19 +98,17 @@
9998
}
10099
},
101100
"lint-staged": {
102-
"linters": {
103-
"package.json": [
104-
"finepack",
105-
"git add"
106-
],
107-
"*.js": [
108-
"prettier-standard",
109-
"git add"
110-
],
111-
"*.md": [
112-
"standard-markdown",
113-
"git add"
114-
]
115-
}
101+
"package.json": [
102+
"finepack",
103+
"git add"
104+
],
105+
"*.js": [
106+
"prettier-standard",
107+
"git add"
108+
],
109+
"*.md": [
110+
"standard-markdown",
111+
"git add"
112+
]
116113
}
117114
}

0 commit comments

Comments
 (0)