Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e6d187

Browse files
authored
Merge pull request#379 from coderoad/eslint-prune
cleanup eslint config for web-app
2 parents8305aa5 +947d2fd commit5e6d187

File tree

5 files changed

+24
-244
lines changed

5 files changed

+24
-244
lines changed

‎.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module.exports = {
22
parser:'@typescript-eslint/parser',// Specifies the ESLint parser
33
plugins:['prettier'],
44
extends:[
5+
'react-app',
56
'plugin:@typescript-eslint/recommended',// Uses the recommended rules from the@typescript-eslint/eslint-plugin
67
'prettier/@typescript-eslint',// Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
78
'plugin:prettier/recommended',

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
},
5757
"devDependencies": {
5858
"eslint-config-prettier":"^6.11.0",
59+
"eslint-config-react-app":"^5.2.1",
5960
"eslint-plugin-prettier":"^3.1.4",
6061
"prettier":"2.0.5",
6162
"vscode":"^1.1.37",

‎web-app/package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,15 @@
5959
"@types/react":"^16.9.41",
6060
"@types/react-addons-css-transition-group":"^15.0.5",
6161
"@types/react-dom":"^16.9.8",
62-
"@typescript-eslint/eslint-plugin":"^3.4.0",
63-
"@typescript-eslint/parser":"^3.4.0",
6462
"babel-loader":"8.1.0",
6563
"babel-plugin-import":"^1.13.0",
6664
"customize-cra":"^1.0.0",
67-
"eslint":"^7.3.1",
68-
"eslint-config-prettier":"^6.11.0",
69-
"eslint-plugin-prettier":"^3.1.4",
7065
"mini-css-extract-plugin":"^0.9.0",
7166
"node-sass":"^4.14.1",
7267
"prettier":"2.0.5",
7368
"react-app-rewired":"^2.1.6",
7469
"react-scripts":"^3.4.1",
7570
"sass-loader":"^8.0.2",
76-
"typescript":"^3.9.5",
77-
"typescript-eslint-parser":"^22.0.0"
71+
"typescript":"^3.9.5"
7872
}
7973
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp