Skip to content

Commit bc26bd3

Browse files
authored
Merge pull request #126 from akameco/update-deps
chore: update dependencies and configuration
2 parents 9838ae6 + 5fc022d commit bc26bd3

File tree

21 files changed

+19937
-9864
lines changed

21 files changed

+19937
-9864
lines changed

.eslintignore

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

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [10.x, 12.x]
10+
# LTS (20.x) and latest (22.x) only
11+
node-version: [20.x, 22.x]
1112
steps:
1213
- uses: actions/checkout@v2
1314
- name: Setup node
1415
uses: actions/setup-node@v1
1516
with:
1617
node-version: ${{ matrix.node }}
17-
- run: yarn install
18-
- run: yarn lint
19-
- run: yarn test
18+
- run: npm install
19+
- run: npm run lint
20+
- run: npm run test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
lib
33
dist
44
.eslintcache
5+
.test-cache

eslint.config.mjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ESLint v9+ config
2+
import js from '@eslint/js'
3+
import tseslint from 'typescript-eslint'
4+
5+
export default [
6+
js.configs.recommended,
7+
...tseslint.configs.recommended,
8+
{
9+
files: ['src/**/*.ts'],
10+
languageOptions: {
11+
parser: tseslint.parser,
12+
parserOptions: {
13+
ecmaVersion: 2022,
14+
sourceType: 'module'
15+
}
16+
}
17+
},
18+
{
19+
ignores: ['dist/', 'node_modules/', 'compiled/']
20+
}
21+
]

0 commit comments

Comments
 (0)