@fullstacksjs/eslint-config 7.0.3 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/base.js +2 -9
- package/package.json +9 -8
- package/rules/es2015.js +1 -0
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ If you need more advanced `typescript-eslint` rules, then you can extend from `"
|
|
|
115
115
|
* eslint-plugin-simple-import-sort
|
|
116
116
|
* eslint-plugin-fp
|
|
117
117
|
* eslint-plugin-node
|
|
118
|
-
*
|
|
118
|
+
* eslint-plugin-promise
|
|
119
119
|
|
|
120
120
|
That's all. Feel free to use 💛
|
|
121
121
|
|
package/base.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
plugins: [
|
|
3
|
-
'prettier',
|
|
4
|
-
'import',
|
|
5
|
-
'simple-import-sort',
|
|
6
|
-
// 'promise' PENDING: https://github.com/xjamundx/eslint-plugin-promise/issues/218
|
|
7
|
-
'node',
|
|
8
|
-
'fp',
|
|
9
|
-
],
|
|
2
|
+
plugins: ['prettier', 'import', 'simple-import-sort', 'promise', 'node', 'fp'],
|
|
10
3
|
parserOptions: {
|
|
11
4
|
ecmaVersion: 2020,
|
|
12
5
|
sourceType: 'module',
|
|
@@ -34,7 +27,7 @@ module.exports = {
|
|
|
34
27
|
'./rules/style',
|
|
35
28
|
'./rules/variables',
|
|
36
29
|
'./rules/fp',
|
|
37
|
-
|
|
30
|
+
'./rules/promise',
|
|
38
31
|
'./rules/node',
|
|
39
32
|
'prettier',
|
|
40
33
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullstacksjs/eslint-config",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "fullstacks <fullstacksjs@gmail.com>",
|
|
6
6
|
"description": "fullstacks eslint config",
|
|
@@ -45,34 +45,35 @@
|
|
|
45
45
|
"eslint-plugin-cypress": "2.12.1",
|
|
46
46
|
"eslint-plugin-fp": "2.3.0",
|
|
47
47
|
"eslint-plugin-import": "2.25.3",
|
|
48
|
-
"eslint-plugin-jest-formatting": "3.1.0",
|
|
49
48
|
"eslint-plugin-jest": "25.3.0",
|
|
49
|
+
"eslint-plugin-jest-formatting": "3.1.0",
|
|
50
50
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
51
51
|
"eslint-plugin-node": "11.1.0",
|
|
52
52
|
"eslint-plugin-prettier": "4.0.0",
|
|
53
|
-
"eslint-plugin-
|
|
53
|
+
"eslint-plugin-promise": "6.0.0",
|
|
54
54
|
"eslint-plugin-react": "7.27.1",
|
|
55
|
+
"eslint-plugin-react-hooks": "4.3.0",
|
|
55
56
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
56
57
|
"lodash.has": "4.5.2",
|
|
57
58
|
"read-pkg-up": "7.0.1"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
|
-
"eslint": "8.
|
|
61
|
+
"eslint": "8.5.0",
|
|
61
62
|
"eslint-find-rules": "4.0.0",
|
|
62
63
|
"husky": "7.0.4",
|
|
63
|
-
"lint-staged": "12.1.
|
|
64
|
+
"lint-staged": "12.1.3",
|
|
64
65
|
"np": "7.6.0",
|
|
65
66
|
"npm-run-all": "4.1.5",
|
|
66
67
|
"pinst": "2.1.6",
|
|
67
68
|
"prettier": "2.5.1",
|
|
68
|
-
"typescript": "4.5.
|
|
69
|
+
"typescript": "4.5.4"
|
|
69
70
|
},
|
|
70
71
|
"peerDependencies": {
|
|
72
|
+
"cypress": ">=8",
|
|
71
73
|
"eslint": ">=7",
|
|
72
74
|
"prettier": "2",
|
|
73
75
|
"react": ">=16",
|
|
74
|
-
"typescript": "4"
|
|
75
|
-
"cypress": ">=8"
|
|
76
|
+
"typescript": "4"
|
|
76
77
|
},
|
|
77
78
|
"peerDependenciesMeta": {
|
|
78
79
|
"typescript": {
|