Skip to content

Commit 494e4fd

Browse files
cmdcolinclaude
andcommitted
update to pnpm, TypeScript 6, eslint-plugin-unicorn v64
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 65d673c commit 494e4fd

File tree

7 files changed

+3475
-2495
lines changed

7 files changed

+3475
-2495
lines changed

.github/workflows/push.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,16 @@ on: push
44

55
jobs:
66
test:
7-
name: Lint, build, and test on node 20.x and ubuntu-latest
7+
name: Lint, build, and test
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- name: Use Node.js 20.x
12-
uses: actions/setup-node@v4
11+
- uses: pnpm/action-setup@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20.x
15-
- name: Install deps (with cache)
16-
uses: bahmutov/npm-install@v1
17-
- name: Lint codebase
18-
run: yarn lint
19-
- name: Build codebase
20-
run: yarn build
21-
- name: Test codebase
22-
run: yarn test --coverage
23-
- name: Upload coverage
24-
run: bash <(curl -s https://codecov.io/bash)
14+
node-version: 22.x
15+
cache: pnpm
16+
- run: pnpm install --frozen-lockfile
17+
- run: pnpm lint
18+
- run: pnpm build
19+
- run: pnpm test

eslint.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export default defineConfig(
3232
rules: {
3333
'no-underscore-dangle': 'off',
3434
curly: 'error',
35+
eqeqeq: 'error',
3536
'@typescript-eslint/consistent-type-imports': 'error',
36-
'@typescript-eslint/no-explicit-any': 'off',
37-
'@typescript-eslint/explicit-module-boundary-types': 'off',
38-
'@typescript-eslint/ban-ts-comment': 'off',
37+
'@typescript-eslint/no-explicit-any': 'error',
38+
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-expect-error': 'allow-with-description', 'ts-ignore': true }],
3939
'@typescript-eslint/no-unsafe-assignment': 'off',
4040
'@typescript-eslint/no-unsafe-member-access': 'off',
4141
'@typescript-eslint/no-unsafe-call': 'off',

jest.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"prettier": "^3.8.0",
5757
"rimraf": "^6.1.2",
5858
"standard-changelog": "^7.0.1",
59-
"typescript": "^5.9.3",
59+
"typescript": "^6.0.2",
6060
"typescript-eslint": "^8.53.0",
6161
"vitest": "^4.0.17"
6262
},

0 commit comments

Comments
 (0)