Skip to content

Commit 0aa3bfe

Browse files
committed
setting more heap memory when linting
1 parent 9c366c7 commit 0aa3bfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build:dev": "webpack --env development",
1616
"build:test": "webpack --config test.config.js",
1717
"eslint": "eslint 'src/**' 'tests/**'",
18-
"lint": "npm run eslint && npm run prettier -- --list-different && npm run knip",
18+
"lint": "NODE_OPTIONS=\"--max-old-space-size=5120\" npm run eslint && npm run prettier -- --list-different && npm run knip",
1919
"lint:fix": "npm run eslint -- --fix && npm run prettier -- --write",
2020
"prepublishOnly": "npm run build && npx tsc",
2121
"prettier": "prettier './*.{ts,js,cjs,json,md,yml}' '{src,tests}/**/*.{ts,js,cjs}'",

0 commit comments

Comments
 (0)