Skip to content

Commit

Permalink
Enable code linting (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l authored Sep 17, 2023
1 parent af720ef commit de961db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
node-version-file: ".nvmrc"
cache: "npm"
- run: npm ci
- run: npm run lint:ts
- run: npm run lint:code

links:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
"start": "docusaurus start --host 0.0.0.0",
"build": "docusaurus build",
"lint": "npm run lint:biome && npm run lint:ts && npm run lint:links && npm run lint:md",
"lint:biome": "biome check .",
"lint:code": "npm run lint:biome && npm run lint:ts",
"lint:fix": "biome format --write . && biome check --apply .",
"lint:fix:unsafe": "biome check . --apply-unsafe .",
"lint:ts": "tsc",
"lint:links": "node scripts/linkValidator.js",
"lint:md": "npx markdownlint-cli docs",
"lint:biome": "biome check .",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand Down

0 comments on commit de961db

Please sign in to comment.