Skip to content

Commit f1d0d9a

Browse files
committed
moved lint to pre-commit hook
1 parent 4e95a9a commit f1d0d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"scripts": {
4848
"start": "esw -w .",
4949
"lint": "eslint .",
50-
"pretest": "npm run -s lint",
5150
"test": "mocha --compilers js:babel/register",
5251
"test:cov": "`npm bin`/babel-node `npm bin`/isparta cover --report text --report html `npm bin`/_mocha",
5352
"test:gen": "babel-node generate-tests",
@@ -73,6 +72,7 @@
7372
},
7473
"homepage": "https://github.com/css-modules/css-modules-require-hook",
7574
"pre-commit": [
75+
"lint",
7676
"test"
7777
]
7878
}

0 commit comments

Comments
 (0)