@whitetrefoil/eslint-config 0.25.0 → 0.26.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 CHANGED
@@ -86,6 +86,10 @@ See Also
86
86
  Changelog
87
87
  ---------
88
88
 
89
+ ### v0.26.0
90
+
91
+ * Upgrade rules;
92
+
89
93
  ### v0.25.0
90
94
 
91
95
  * Totally refactored in order to simplify usage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whitetrefoil/eslint-config",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "author": "WhiteTrefoil <whitetrefoil@gmail.com>",
5
5
  "license": "Unlicense",
6
6
  "engines": {
@@ -11,17 +11,17 @@
11
11
  "rules"
12
12
  ],
13
13
  "dependencies": {
14
- "eslint": "^8.5.0",
15
- "eslint-plugin-implicit-dependencies": "^1.1.0"
14
+ "eslint": "^8.10.0",
15
+ "eslint-plugin-implicit-dependencies": "^1.1.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@typescript-eslint/eslint-plugin": "^5.8.0",
19
- "@typescript-eslint/parser": "^5.8.0",
18
+ "@typescript-eslint/eslint-plugin": "^5.13.0",
19
+ "@typescript-eslint/parser": "^5.13.0",
20
20
  "eslint-plugin-node": "^11.1.0",
21
- "eslint-plugin-react": "^7.28.0",
21
+ "eslint-plugin-react": "^7.29.2",
22
22
  "eslint-plugin-react-hooks": "^4.3.0",
23
- "eslint-plugin-vue": "^8.2.0",
24
- "typescript": "^4.5.4"
23
+ "eslint-plugin-vue": "^8.5.0",
24
+ "typescript": "^4.6.2"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@typescript-eslint/eslint-plugin": "^5.8.0",
package/rules/base.js CHANGED
@@ -1,4 +1,4 @@
1
- // Rules up to v8.5.0
1
+ // Rules up to v8.10.0
2
2
  // @see https://github.com/eslint/eslint/releases
3
3
 
4
4
  module.exports = {
@@ -111,7 +111,7 @@ module.exports = {
111
111
  'no-bitwise' : [1],
112
112
  'no-caller' : [2],
113
113
  'no-case-declarations' : [2],
114
- 'no-confusing-arrow' : [0],
114
+ 'no-confusing-arrow' : [0, { onlyOneSimpleParam: true }],
115
115
  'no-console' : [2],
116
116
  'no-continue' : [0],
117
117
  'no-delete-var' : [2],
@@ -176,7 +176,7 @@ module.exports = {
176
176
  'no-return-await' : [2],
177
177
  'no-script-url' : [1],
178
178
  'no-sequences' : [2],
179
- 'no-shadow' : [1],
179
+ 'no-shadow' : [1, { ignoreOnInitialization: true }],
180
180
  'no-shadow-restricted-names' : [2],
181
181
  'no-ternary' : [0],
182
182
  'no-throw-literal' : [1],
package/rules/ts-types.js CHANGED
@@ -1,4 +1,4 @@
1
- // Rules up to v5.8.0
1
+ // Rules up to v5.13.0
2
2
  // @see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md
3
3
 
4
4
  // These are rules need type info which will be much slower
@@ -27,6 +27,7 @@ module.exports = {
27
27
  },
28
28
  ],
29
29
  '@typescript-eslint/no-throw-literal' : [2],
30
+ '@typescript-eslint/no-redundant-type-constituents' : [0],
30
31
  '@typescript-eslint/no-unnecessary-boolean-literal-compare': [0],
31
32
  '@typescript-eslint/no-unnecessary-condition' : [0],
32
33
  '@typescript-eslint/no-unnecessary-qualifier' : [0],
package/rules/ts.js CHANGED
@@ -1,4 +1,4 @@
1
- // Rules up to v5.8.0
1
+ // Rules up to v5.13.0
2
2
  // @see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md
3
3
 
4
4
  // These are rules don't need type info
@@ -130,6 +130,7 @@ module.exports = {
130
130
  '@typescript-eslint/no-require-imports' : [2],
131
131
  '@typescript-eslint/no-this-alias' : [1],
132
132
  '@typescript-eslint/no-type-alias' : [0],
133
+ '@typescript-eslint/no-useless-empty-export' : [2],
133
134
  '@typescript-eslint/no-var-requires' : [2],
134
135
  '@typescript-eslint/prefer-as-const' : [2],
135
136
  '@typescript-eslint/prefer-enum-initializers' : [0],