Skip to content

Commit

Permalink
ci/tests: move to biome, v4 linter fixes, audit tests and reorganize (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj authored and Filip Maj committed Oct 17, 2024
1 parent 187664e commit 1b793c0
Show file tree
Hide file tree
Showing 137 changed files with 6,464 additions and 9,948 deletions.
7 changes: 7 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"include": ["src/**/*.ts"],
"exclude": ["**/*.spec.ts"],
"reporter": ["lcov", "text"],
"all": false,
"cache": true
}
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

304 changes: 0 additions & 304 deletions .eslintrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Print eslint version
run: ./node_modules/.bin/eslint -v
- run: npm run build
- run: npm test
- name: Upload coverage to Codecov
if: matrix.node-version == '22.x'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: [18.x, 20.x, 22.x]
example:
- examples/getting-started-typescript
- examples/custom-receiver
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand Down
15 changes: 0 additions & 15 deletions .nycrc.json

This file was deleted.

12 changes: 2 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@
"name": "Spec tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": [
"--config",
".mocharc.json",
"--no-timeouts",
"src/*.spec.ts",
"src/**/*.spec.ts"
],
"args": ["--config", ".mocharc.json", "--no-timeouts", "src/*.spec.ts", "src/**/*.spec.ts"],
"cwd": "${workspaceFolder}",
"runtimeExecutable": null,
"env": {
"NODE_ENV": "testing",
"TS_NODE_PROJECT": "tsconfig.test.json"
},
"skipFiles": [
"<node_internals>/**"
]
"skipFiles": ["<node_internals>/**"]
}
]
}
Loading

0 comments on commit 1b793c0

Please sign in to comment.