Skip to content

Commit b3b1001

Browse files
committed
lint
1 parent a078170 commit b3b1001

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ function posixify(file) {
3535
}
3636

3737
function sanitize(input) {
38-
return basename(input).
39-
replace(extname(input), '').
40-
replace(/[^a-zA-Z_$0-9]+/g, '_').
41-
replace(/^_/, '').
42-
replace(/_$/, '').
43-
replace(/^(\d)/, '_$1');
38+
return basename(input)
39+
.replace(extname(input), '')
40+
.replace(/[^a-zA-Z_$0-9]+/g, '_')
41+
.replace(/^_/, '')
42+
.replace(/_$/, '')
43+
.replace(/^(\d)/, '_$1');
4444
}
4545

4646
function capitalize(str) {

0 commit comments

Comments
 (0)