Skip to content

Commit ad49714

Browse files
committed
use yarn and upgrade deps
1 parent ec8ffe9 commit ad49714

18 files changed

+3776
-6688
lines changed

.eslintrc.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
module.exports = {
2-
parser: "@typescript-eslint/parser",
3-
extends: ["airbnb-base", "plugin:prettier/recommended"],
4-
plugins: ["@typescript-eslint"],
2+
parser: '@typescript-eslint/parser',
3+
extends: ['airbnb-base', 'plugin:prettier/recommended'],
4+
plugins: ['@typescript-eslint'],
55
settings: {
6-
"import/parsers": {
7-
"@typescript-eslint/parser": [".ts"]
6+
'import/parsers': {
7+
'@typescript-eslint/parser': ['.ts'],
88
},
9-
"import/resolver": {
9+
'import/resolver': {
1010
node: {
11-
extensions: [".js", ".ts"]
12-
}
13-
}
11+
extensions: ['.js', '.ts'],
12+
},
13+
},
1414
},
1515
env: {
1616
node: true,
1717
browser: false,
18-
jest: true
18+
jest: true,
1919
},
2020
rules: {
21-
"no-unused-vars": 0,
22-
"no-restricted-syntax": 0,
23-
"import/prefer-default-export": 0
24-
}
21+
'no-unused-vars': 0,
22+
'no-restricted-syntax': 0,
23+
'import/prefer-default-export': 0,
24+
},
2525
};

jest.config.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
const path = require("path");
1+
const path = require('path');
22

33
module.exports = {
44
verbose: true,
55
collectCoverage: true,
6-
testEnvironment: "node",
6+
testEnvironment: 'node',
77
transform: {
8-
"\\.ts$": "ts-jest"
8+
'\\.ts$': 'ts-jest',
99
},
10-
testMatch: ["**/src/**/__tests__/**/*.spec.[jt]s"],
11-
moduleFileExtensions: ["ts", "js", "json", "node"]
10+
testMatch: ['**/src/**/__tests__/**/*.spec.[jt]s'],
11+
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
1212
};

0 commit comments

Comments
 (0)