Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1b8b855

Browse files
Cherrymrbbot
andauthored
chore: fix linting on windows (#509)
* chore: fix lint script on windows * fix: add gitattributes for LF line ending * Update package.json --------- Co-authored-by: MrBBot <[email protected]>
1 parent 4867c1e commit 1b8b855

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"types:bundle": "npm run types:build && node scripts/types.mjs",
2323
"dev": "node scripts/build.mjs watch",
2424
"test": "npm run build && ava && rimraf ./.tmp",
25-
"lint": "eslint 'packages/*/{src,test}/**/*.ts' 'packages/miniflare/bootstrap.js' 'scripts/**/*.{js,mjs}' 'types/**/*.ts'",
25+
"lint": "eslint \"packages/*/{src,test}/**/*.ts\" \"packages/miniflare/bootstrap.js\" \"scripts/**/*.{js,mjs}\" \"types/**/*.ts\"",
2626
"lint:fix": "npm run lint -- --fix",
2727
"prepublishOnly": "npm run lint && npm run clean && npm run build && npm run types:bundle && npm run test",
2828
"helpers:scaffold": "node scripts/scaffold.mjs",

0 commit comments

Comments
 (0)