Skip to content

Commit 63c86a8

Browse files
committed
update tooling and config
1 parent 3720cf0 commit 63c86a8

8 files changed

Lines changed: 51 additions & 62 deletions

File tree

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.DS_Store
2-
.idea
31
node_modules/
42
built/
53
package-lock.json

.eslintrc.js

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

.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
8+
"parser": "@typescript-eslint/parser",
9+
"parserOptions": {
10+
"ecmaVersion": "latest",
11+
"sourceType": "module"
12+
},
13+
"plugins": ["@typescript-eslint"],
14+
"rules": {
15+
"@typescript-eslint/no-explicit-any": "off"
16+
}
17+
}

.github/workflows/run-tests.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,27 @@
44
name: Tests
55

66
on:
7-
push:
8-
branches: [ master ]
9-
pull_request:
10-
branches: [ master ]
7+
push:
8+
branches: [master]
9+
pull_request:
10+
branches: [master]
1111

1212
jobs:
13-
build:
13+
build:
14+
runs-on: ubuntu-latest
1415

15-
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
node-version: [16, 18, 20]
19+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1620

17-
strategy:
18-
matrix:
19-
node-version: [16, 18, 20]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21-
22-
steps:
23-
- uses: actions/checkout@v4
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
- run: npm install -d
29-
- run: npm run lint
30-
- run: npm test
31-
- run: npm run test-integration
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm install -d
28+
- run: npm run lint
29+
- run: npm test
30+
- run: npm run test-integration

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
built/
3+
package-lock.json
4+
package.json
5+
tests/unit/requests/
6+
tests/unit/responses/

.prettierrc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"singleQuote": true,
3-
"trailingComma": "none",
4-
"htmlWhitespaceSensitivity": "ignore",
5-
"tabWidth": 4,
6-
"semi": true,
7-
"arrowParens": "avoid"
8-
}
2+
"singleQuote": true,
3+
"trailingComma": "none",
4+
"htmlWhitespaceSensitivity": "ignore",
5+
"tabWidth": 4,
6+
"semi": true,
7+
"arrowParens": "avoid"
8+
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"editor.formatOnSave": true,
33
"editor.codeActionsOnSave": {
4-
"source.fixAll": true
4+
"source.fixAll": "explicit"
55
}
66
}

tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
22
"compilerOptions": {
3-
"charset": "utf8",
43
"declaration": true,
54
"esModuleInterop": true,
65
"forceConsistentCasingInFileNames": true,
76
"noUncheckedIndexedAccess": true,
8-
"keyofStringsOnly": true,
97
"module": "commonjs",
108
"newLine": "lf",
119
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)