Skip to content

Commit 3200630

Browse files
committed
1 parent 69dc21c commit 3200630

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Diff for: .eslintrc.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ module.exports = {
55
project: "./tsconfig.json"
66
},
77
plugins: ["@typescript-eslint"],
8-
extends: ["plugin:@typescript-eslint/recommended"],
8+
extends: [
9+
"plugin:@typescript-eslint/recommended",
10+
"prettier",
11+
"prettier/@typescript-eslint"
12+
],
913
rules: {
1014
"@typescript-eslint/no-unused-vars": "off"
1115
}

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@types/react-dom": "^16.8.2",
4444
"@typescript-eslint/eslint-plugin": "^1.5.0",
4545
"@typescript-eslint/parser": "^1.5.0",
46+
"eslint-config-prettier": "4.1.0",
4647
"husky": "^1.3.1",
4748
"lint-staged": "^8.1.5",
4849
"prettier": "1.16.4",

Diff for: yarn.lock

+7
Original file line numberDiff line numberDiff line change
@@ -3431,6 +3431,13 @@ escodegen@^1.9.1:
34313431
optionalDependencies:
34323432
source-map "~0.6.1"
34333433

3434+
3435+
version "4.1.0"
3436+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-4.1.0.tgz#181364895899fff9fd3605fecb5c4f20e7d5f395"
3437+
integrity sha512-zILwX9/Ocz4SV2vX7ox85AsrAgXV3f2o2gpIicdMIOra48WYqgUnWNH/cR/iHtmD2Vb3dLSC3LiEJnS05Gkw7w==
3438+
dependencies:
3439+
get-stdin "^6.0.0"
3440+
34343441
eslint-config-react-app@^3.0.8:
34353442
version "3.0.8"
34363443
resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-3.0.8.tgz#6f606828ba30bafee7d744c41cd07a3fea8f3035"

0 commit comments

Comments
 (0)