Skip to content

Commit ffd2097

Browse files
feat: bumped versions and added lint config
1 parent 1501ab6 commit ffd2097

File tree

4 files changed

+44
-17
lines changed

4 files changed

+44
-17
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*dist*

.eslintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 2022,
5+
"sourceType": "module"
6+
},
7+
"plugins": [
8+
"@typescript-eslint"
9+
],
10+
"extends": [
11+
"eslint:recommended",
12+
"plugin:@typescript-eslint/recommended"
13+
],
14+
"rules": {},
15+
"env": {
16+
"browser": true,
17+
"es2021": true
18+
}
19+
}

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist
2+
dist-types
3+
coverage
4+
.vscode
5+

package.json

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,42 +29,44 @@
2929
"test": "backstage-cli package test",
3030
"clean": "backstage-cli package clean",
3131
"prepack": "backstage-cli package prepack",
32-
"postpack": "backstage-cli package postpack"
32+
"postpack": "backstage-cli package postpack",
33+
"prettier:check": "prettier --check ."
3334
},
3435
"dependencies": {
35-
"@backstage/core-components": "^0.12.0",
36-
"@backstage/core-plugin-api": "^1.2.0",
37-
"@backstage/plugin-catalog-react": "^1.2.2",
36+
"@backstage/core-components": "^0.12.3",
37+
"@backstage/core-plugin-api": "^1.3.0",
38+
"@backstage/plugin-catalog-react": "^1.2.4",
3839
"@backstage/theme": "^0.2.16",
3940
"@material-ui/core": "^4.12.2",
4041
"@material-ui/icons": "^4.9.1",
4142
"@material-ui/lab": "4.0.0-alpha.61",
4243
"moment": "^2.29.1",
43-
"react-router": "6.3.0",
44+
"react-dom": "^17.0.2",
45+
"react-router-dom": "^6.3.0",
4446
"react-use": "^17.2.4"
4547
},
4648
"peerDependencies": {
47-
"react": "^16.13.1 || ^17.0.0",
48-
"react-dom": "^16.13.1 || ^17.0.0"
49+
"react": "^17.0.0",
50+
"react-dom": "^17.0.0"
4951
},
5052
"devDependencies": {
51-
"@backstage/cli": "^0.22.0",
52-
"@backstage/core-app-api": "^1.3.0",
53-
"@backstage/dev-utils": "^1.0.0",
54-
"@backstage/plugin-catalog-react": "^1.2.2",
55-
"@backstage/test-utils": "^1.2.3",
56-
"@spotify/prettier-config": "^12.0.0",
57-
"prettier": "^2.3.2",
53+
"@backstage/cli": "^0.22.1",
54+
"@backstage/core-app-api": "^1.4.0",
55+
"@backstage/dev-utils": "^1.0.11",
56+
"@backstage/plugin-catalog-react": "^1.2.4",
57+
"@backstage/test-utils": "^1.2.4",
5858
"@testing-library/jest-dom": "^5.12.0",
5959
"@testing-library/react": "^12.1.3",
6060
"@testing-library/user-event": "^14.3.0",
6161
"@types/jest": "^27.4.0",
6262
"@types/node": "^17.0.13",
63+
"@typescript-eslint/eslint-plugin": "^5.48.2",
64+
"@typescript-eslint/parser": "^5.48.2",
6365
"cross-fetch": "^3.1.4",
64-
"msw": "^0.44.2"
66+
"msw": "^0.44.2",
67+
"prettier": "^2.3.2"
6568
},
6669
"files": [
6770
"dist"
68-
],
69-
"prettier": "@spotify/prettier-config"
71+
]
7072
}

0 commit comments

Comments
 (0)