Skip to content

Commit 7e29e20

Browse files
committed
build: change rules for lint staged
1 parent 9f763b2 commit 7e29e20

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
"tempfile": "^2.0.0"
7373
},
7474
"lint-staged": {
75-
"*.js": "eslint",
76-
"*.md": "eslint --rule indent: [error, 4] ."
75+
"{src,test}*.js": "eslint",
76+
"*.md": "eslint"
7777
},
7878
"ava": {
7979
"require": [
@@ -124,8 +124,12 @@
124124
"*.{html,jpg}"
125125
],
126126
"rules": {
127-
"cli": ["off"],
128-
"xo": ["off"]
127+
"cli": [
128+
"off"
129+
],
130+
"xo": [
131+
"off"
132+
]
129133
}
130134
}
131135
}

0 commit comments

Comments
 (0)