Skip to content

Commit

Permalink
chore: fix script for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Feb 18, 2023
1 parent 3192281 commit 814d495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -39,8 +39,6 @@ jobs:
- name: Validate internal links
working-directory: docs
run: npm run lint:links
env:
NODE_OPTIONS: --max-old-space-size=4096

test_on_node:
name: Test
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Expand Up @@ -17,7 +17,7 @@
"start": "npm-run-all build:sass --parallel watch:*",
"build": "npm-run-all build:sass build:eleventy images",
"lint:scss": "stylelint \"**/*.{scss,html}\"",
"lint:links": "hyperlink ./_site/index.html --canonicalroot https://eslint.org/docs/head/ -r --internal ./_site/index.html --pretty --skip https:// --skip fragment-redirect --skip migrating-to --skip /blog --skip /play --skip /team --skip /donate --skip /docs/latest --skip _site/rules/null",
"lint:links": "cross-env NODE_OPTIONS=--max-old-space-size=4096 node tools/validate-links.js",
"lint:fix:scss": "npm run lint:scss -- --fix"
},
"devDependencies": {
Expand All @@ -28,6 +28,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.2",
"@types/markdown-it": "^12.2.3",
"algoliasearch": "^4.12.1",
"cross-env": "^7.0.3",
"dom-parser": "^0.1.6",
"eleventy-plugin-nesting-toc": "^1.3.0",
"eleventy-plugin-page-assets": "^0.3.0",
Expand Down

0 comments on commit 814d495

Please sign in to comment.