Skip to content

Commit 997474e

Browse files
committed
Add eslint, remove Dockerfile
1 parent 681a312 commit 997474e

File tree

3 files changed

+8
-48
lines changed

3 files changed

+8
-48
lines changed

Dockerfile

Lines changed: 0 additions & 44 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"build": "react-scripts build",
2121
"test": "react-scripts test",
2222
"eject": "react-scripts eject",
23-
"relay": "relay-compiler $@"
23+
"relay": "relay-compiler $@",
24+
"lint": "eslint . --ext .ts,.tsx"
2425
},
2526
"eslintConfig": {
2627
"extends": "react-app"
@@ -45,6 +46,9 @@
4546
"@types/react-helmet": "^5.0.15",
4647
"@types/react-relay": "^13.0.2",
4748
"@types/react-router-dom": "^5.1.3",
49+
"@typescript-eslint/eslint-plugin": "^5.33.0",
50+
"@typescript-eslint/parser": "^5.33.0",
51+
"eslint": "^8.21.0",
4852
"graphql": "^15.0.0",
4953
"relay-compiler": "^14.0.0",
5054
"relay-compiler-language-typescript": "^15.0.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,7 +2091,7 @@
20912091
dependencies:
20922092
"@types/yargs-parser" "*"
20932093

2094-
"@typescript-eslint/eslint-plugin@^5.5.0":
2094+
"@typescript-eslint/eslint-plugin@^5.33.0", "@typescript-eslint/eslint-plugin@^5.5.0":
20952095
version "5.33.0"
20962096
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.33.0.tgz#059798888720ec52ffa96c5f868e31a8f70fa3ec"
20972097
integrity sha512-jHvZNSW2WZ31OPJ3enhLrEKvAZNyAFWZ6rx9tUwaessTc4sx9KmgMNhVcqVAl1ETnT5rU5fpXTLmY9YvC1DCNg==
@@ -2113,7 +2113,7 @@
21132113
dependencies:
21142114
"@typescript-eslint/utils" "5.33.0"
21152115

2116-
"@typescript-eslint/parser@^5.5.0":
2116+
"@typescript-eslint/parser@^5.33.0", "@typescript-eslint/parser@^5.5.0":
21172117
version "5.33.0"
21182118
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.33.0.tgz#26ec3235b74f0667414613727cb98f9b69dc5383"
21192119
integrity sha512-cgM5cJrWmrDV2KpvlcSkelTBASAs1mgqq+IUGKJvFxWrapHpaRy5EXPQz9YaKF3nZ8KY18ILTiVpUtbIac86/w==
@@ -4084,7 +4084,7 @@ eslint-webpack-plugin@^3.1.1:
40844084
normalize-path "^3.0.0"
40854085
schema-utils "^4.0.0"
40864086

4087-
eslint@^8.3.0:
4087+
eslint@^8.21.0, eslint@^8.3.0:
40884088
version "8.21.0"
40894089
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.21.0.tgz#1940a68d7e0573cef6f50037addee295ff9be9ef"
40904090
integrity sha512-/XJ1+Qurf1T9G2M5IHrsjp+xrGT73RZf23xA1z5wB1ZzzEAWSZKvRwhWxTFp1rvkvCfwcvAUNAP31bhKTTGfDA==

0 commit comments

Comments
 (0)