Skip to content

Commit 06e0af7

Browse files
committed
update packages and adapt configs
1 parent 9438884 commit 06e0af7

3 files changed

Lines changed: 15 additions & 13 deletions

File tree

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"prettier",
1515
"plugin:prettier/recommended",
1616
"plugin:@typescript-eslint/recommended",
17-
"plugin:import/typescript"
17+
"plugin:import/typescript",
18+
"plugin:jest/recommended"
1819
],
1920
"parserOptions": {
2021
"sourceType": "module",

jestconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"testEnvironment": "jsdom",
23
"transform": {
34
"^.+\\.(t|j)sx?$": "ts-jest"
45
},

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@
4545
},
4646
"homepage": "https://github.com/aboutbits/pagination#readme",
4747
"devDependencies": {
48-
"@types/jest": "^26.0.9",
49-
"@typescript-eslint/eslint-plugin": "^3.8.0",
50-
"@typescript-eslint/parser": "^3.8.0",
51-
"eslint": "^7.6.0",
52-
"eslint-config-prettier": "^6.11.0",
53-
"eslint-plugin-import": "^2.22.0",
54-
"eslint-plugin-jest": "^23.20.0",
55-
"eslint-plugin-prettier": "^3.1.4",
56-
"jest": "^26.2.2",
57-
"prettier": "^2.0.5",
58-
"ts-jest": "^26.1.4",
59-
"typescript": "^3.9.7"
48+
"@types/jest": "^28.1.3",
49+
"@typescript-eslint/eslint-plugin": "^5.30.0",
50+
"@typescript-eslint/parser": "^5.30.0",
51+
"eslint": "^8.18.0",
52+
"eslint-config-prettier": "^8.5.0",
53+
"eslint-plugin-import": "^2.26.0",
54+
"eslint-plugin-jest": "^26.5.3",
55+
"eslint-plugin-prettier": "^4.1.0",
56+
"jest": "^28.1.2",
57+
"prettier": "^2.7.1",
58+
"ts-jest": "^28.0.5",
59+
"typescript": "^4.7.4"
6060
}
6161
}

0 commit comments

Comments
 (0)