Skip to content

Commit 4fbaad9

Browse files
committed
Dropped 16.x testing support
1 parent b5de4eb commit 4fbaad9

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

.eslintrc.cjs

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
module.exports = {
2+
root: true,
3+
ignorePatterns: ['node_modules', 'lib', 'examples', 'docs'],
4+
env: {
5+
es2021: true,
6+
node: true,
7+
},
8+
extends: ['eslint:recommended'],
9+
parserOptions: {
10+
ecmaVersion: 2021,
11+
sourceType: 'module',
12+
},
13+
settings: {
14+
'import/extensions': ['.js'],
15+
},
16+
plugins: ['@typescript-eslint', 'import'],
17+
rules: {
18+
'no-console': ['error', { allow: ['warn', 'error', 'time'] }],
19+
'import/extensions': ['error', 'ignorePackages'],
20+
},
21+
overrides: [
22+
{
23+
files: ['**/*.ts'],
24+
parser: '@typescript-eslint/parser',
25+
rules: {
26+
'no-undef': 'off',
27+
'no-unused-vars': 'off',
28+
'@typescript-eslint/no-var-requires': 'off',
29+
'@typescript-eslint/no-unused-vars': [
30+
'error',
31+
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
32+
],
33+
'@typescript-eslint/no-empty-function': 'off',
34+
'@typescript-eslint/no-explicit-any': 'off',
35+
},
36+
},
37+
{
38+
files: ['*.spec.ts', '*.test.ts', 'tests/**/*.ts'],
39+
env: {
40+
jest: true,
41+
},
42+
rules: {
43+
'import/extensions': 'off',
44+
},
45+
},
46+
],
47+
};
48+
49+

.github/workflows/pull-reqeust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [ 16.x, 18.x, 20.x ]
17+
node-version: [ 18.x, 20.x, 22.x, 24.x ]
1818
name: Nodejs ${{ matrix.node-version }}
1919
steps:
2020
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)