Skip to content

Commit

Permalink
chore(lint): enforce strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Jan 17, 2024
1 parent c3881c4 commit 323067d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Lint with eslint 🧹
- name: Lint 🧹
run: pnpm lint
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"lint:ts": "tsc",
"lint:css": "stylelint \"./src/**/*.css\"",
"lint:css:fix": "stylelint \"./src/**/*.css\" -- --fix"
},
Expand Down Expand Up @@ -54,4 +55,4 @@
"solid-js": "1.8.11",
"solid-toast": "^0.5.0"
}
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"strict": true,
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "node",
Expand Down

0 comments on commit 323067d

Please sign in to comment.