Skip to content

Commit a9b29cc

Browse files
authored
Merge pull request #474 from open-rpc/fix/eslint
fix: upgrade to eslint
2 parents 65d5da0 + f0fc2a1 commit a9b29cc

File tree

7 files changed

+3455
-7404
lines changed

7 files changed

+3455
-7404
lines changed

eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
parserOptions: {
4+
ecmaVersion: 2018,
5+
sourceType: 'module',
6+
},
7+
plugins: ['@typescript-eslint'],
8+
extends: [
9+
'eslint:recommended',
10+
'plugin:@typescript-eslint/eslint-recommended',
11+
'plugin:@typescript-eslint/recommended',
12+
],
13+
files: ['./src/**/*.ts'],
14+
};
15+

jest.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = {
44
"resetMocks": true,
55
"restoreMocks": true,
66
"rootDir": "./src",
7-
"testEnvironment": "jsdom",
87
"testPathIgnorePatterns": ["./build"],
98
"preset": "ts-jest"
10-
}
9+
}

0 commit comments

Comments
 (0)