Skip to content

Commit 5a78d83

Browse files
committed
fixing ESLint /VS editor problem
1 parent 1ddc675 commit 5a78d83

File tree

4 files changed

+2391
-2171
lines changed

4 files changed

+2391
-2171
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ module.exports = {
3535
extensions: ['.js'],
3636
},
3737
],
38+
'prefer-arrow-callback': 'error',
3839
'prettier/prettier': [
3940
'error',
4041
{

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
"files.autoSave": "afterDelay",
44
"git.enableSmartCommit": true,
55
"editor.formatOnSave": true,
6-
"eslint.autoFixOnSave": true,
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.eslint": true
8+
}
79
}

package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17,53 +17,53 @@
1717
"coverageDirectory": "./.coverage"
1818
},
1919
"dependencies": {
20-
"@material-ui/core": "4.1.3",
21-
"@material-ui/styles": "latest",
22-
"@octokit/rest": "^16.28.2",
23-
"aws-sdk": "2.483.0",
20+
"@material-ui/core": "4.8.0",
21+
"@material-ui/styles": "4.7.1",
22+
"@octokit/rest": "^16.35.2",
23+
"aws-sdk": "2.594.0",
2424
"compression": "1.7.4",
25-
"connect-mongo": "3.0.0",
26-
"dotenv": "8.0.0",
25+
"connect-mongo": "3.2.0",
26+
"dotenv": "8.2.0",
2727
"express": "4.17.1",
28-
"express-session": "1.16.2",
28+
"express-session": "1.17.0",
2929
"front-matter": "3.0.2",
30-
"googleapis": "40.0.0",
31-
"handlebars": "4.1.2",
30+
"googleapis": "46.0.0",
31+
"handlebars": "4.5.3",
3232
"he": "1.2.0",
33-
"helmet": "3.18.0",
34-
"highlight.js": "9.15.8",
33+
"helmet": "3.21.2",
34+
"highlight.js": "9.17.1",
3535
"htmlescape": "1.1.1",
3636
"isomorphic-unfetch": "3.0.0",
37-
"lodash": "4.17.11",
37+
"lodash": "4.17.15",
3838
"lru-cache": "5.1.1",
39-
"marked": "0.6.2",
40-
"mongoose": "5.6.1",
41-
"next": "9.1.1",
39+
"marked": "0.8.0",
40+
"mongoose": "5.8.1",
41+
"next": "9.1.6",
4242
"nprogress": "0.2.0",
43-
"passport": "0.4.0",
43+
"passport": "0.4.1",
4444
"passport-google-oauth": "2.0.0",
4545
"prop-types": "15.7.2",
46-
"qs": "6.7.0",
47-
"react": "16.10.2",
48-
"react-dom": "16.10.2",
46+
"qs": "6.9.1",
47+
"react": "16.12.0",
48+
"react-dom": "16.12.0",
4949
"react-stripe-checkout": "2.6.3",
5050
"request": "2.88.0",
51-
"sitemap": "2.2.0",
52-
"stripe": "7.3.0",
51+
"sitemap": "5.1.0",
52+
"stripe": "7.14.0",
5353
"winston": "3.2.1",
54-
"yarn-upgrade-all": "0.5.0"
54+
"yarn-upgrade-all": "0.5.2"
5555
},
5656
"devDependencies": {
57-
"babel-eslint": "10.0.2",
58-
"eslint": "6.0.1",
59-
"eslint-config-airbnb": "17.1.0",
60-
"eslint-config-prettier": "6.0.0",
61-
"eslint-plugin-import": "2.18.0",
62-
"eslint-plugin-jsx-a11y": "6.2.1",
63-
"eslint-plugin-prettier": "3.1.0",
64-
"eslint-plugin-react": "7.14.2",
65-
"jest": "24.8.0",
66-
"nodemon": "1.19.1",
67-
"prettier": "1.18.2"
57+
"babel-eslint": "10.0.3",
58+
"eslint": "6.7.2",
59+
"eslint-config-airbnb": "18.0.1",
60+
"eslint-config-prettier": "6.7.0",
61+
"eslint-plugin-import": "2.19.1",
62+
"eslint-plugin-jsx-a11y": "6.2.3",
63+
"eslint-plugin-prettier": "3.1.2",
64+
"eslint-plugin-react": "7.17.0",
65+
"jest": "24.9.0",
66+
"nodemon": "2.0.2",
67+
"prettier": "1.19.1"
6868
}
6969
}

0 commit comments

Comments
 (0)