Skip to content

Commit 44c87f5

Browse files
authored
Merge pull request #91 from gowento/eslint-v8
Eslint v8
2 parents 2fe3d27 + fa0e333 commit 44c87f5

File tree

3 files changed

+1132
-111
lines changed

3 files changed

+1132
-111
lines changed

index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ module.exports = {
66
parserOptions: {
77
requireConfigFile: false,
88
babelOptions: {
9-
presets: ['@babel/preset-react']
10-
},
9+
presets: ['@babel/preset-react'],
10+
},
1111
},
1212

1313
env: {
@@ -76,6 +76,12 @@ module.exports = {
7676
},
7777
],
7878

79+
'no-promise-executor-return': 'off',
80+
81+
'prefer-regex-literals': 'off',
82+
83+
'promise/no-return-wrap': 'off',
84+
7985
'default-param-last': 'off',
8086

8187
// Allows await in "for in" loops (https://github.com/airbnb/javascript/issues/851)

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-gowento",
3-
"version": "8.3.4",
3+
"version": "8.3.8",
44
"description": "Shared ESLint config used in Gowento projects.",
55
"author": "Gowento <[email protected]>",
66
"contributors": [
@@ -34,27 +34,28 @@
3434
"license": "MIT",
3535
"homepage": "https://github.com/gowento/eslint-config-gowento",
3636
"dependencies": {
37-
"@babel/core": "7.16.0",
38-
"@babel/eslint-parser": "7.16.3",
39-
"@babel/preset-react": "7.16.0",
40-
"eslint-config-airbnb": "19.0.1",
37+
"@babel/core": "7.16.5",
38+
"@babel/eslint-parser": "7.16.5",
39+
"@babel/preset-react": "7.16.5",
40+
"babel-preset-react-app": "10.0.1",
41+
"eslint-config-airbnb": "19.0.2",
4142
"eslint-config-prettier": "8.3.0",
4243
"eslint-plugin-ava": "13.1.0",
4344
"eslint-plugin-import": "2.25.3",
4445
"eslint-plugin-jsx-a11y": "6.5.1",
4546
"eslint-plugin-lodash": "7.3.0",
4647
"eslint-plugin-prettier": "4.0.0",
47-
"eslint-plugin-promise": "5.1.1",
48+
"eslint-plugin-promise": "6.0.0",
4849
"eslint-plugin-react": "7.27.1",
4950
"eslint-plugin-react-hooks": "4.3.0"
5051
},
5152
"devDependencies": {
52-
"eslint": "8.3.0",
53+
"eslint": "8.5.0",
5354
"np": "7.6.0",
54-
"prettier": "2.4.1"
55+
"prettier": "2.5.1"
5556
},
5657
"peerDependencies": {
57-
"eslint": "^6.1.0",
58-
"prettier": "^1.18.2"
58+
"eslint": "^8.5.0",
59+
"prettier": "^2.5.1"
5960
}
6061
}

0 commit comments

Comments
 (0)