@scaleway/eslint-config-react 3.15.23 → 3.15.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.15.25
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1529](https://github.com/scaleway/scaleway-lib/pull/1529) [`396a52b`](https://github.com/scaleway/scaleway-lib/commit/396a52bbf893ff8a6b8177788964ec8c49a0be72) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@typescript-eslint/eslint-plugin` to `6.7.0`.
8
+ Updated dependency `@typescript-eslint/parser` to `6.7.0`.
9
+
10
+ ## 3.15.24
11
+
12
+ ### Patch Changes
13
+
14
+ - [#1401](https://github.com/scaleway/scaleway-lib/pull/1401) [`bf7f41f`](https://github.com/scaleway/scaleway-lib/commit/bf7f41fc036c380abc75dcbad069ce2eace8df21) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@typescript-eslint/eslint-plugin` to `6.4.0`.
15
+ Updated dependency `@typescript-eslint/parser` to `6.4.0`.
16
+
17
+ - [#1515](https://github.com/scaleway/scaleway-lib/pull/1515) [`e841e13`](https://github.com/scaleway/scaleway-lib/commit/e841e13f6508a9917f615b2e024c7d1d1d200863) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `eslint` to `8.49.0`.
18
+
3
19
  ## 3.15.23
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/eslint-config-react",
3
- "version": "3.15.23",
3
+ "version": "3.15.25",
4
4
  "description": "Scaleway React eslint shared config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -18,8 +18,8 @@
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
20
  "@emotion/eslint-plugin": "11.11.0",
21
- "@typescript-eslint/eslint-plugin": "5.62.0",
22
- "@typescript-eslint/parser": "5.62.0",
21
+ "@typescript-eslint/eslint-plugin": "6.7.0",
22
+ "@typescript-eslint/parser": "6.7.0",
23
23
  "eslint-config-airbnb": "19.0.4",
24
24
  "eslint-config-airbnb-typescript": "17.1.0",
25
25
  "eslint-config-prettier": "9.0.0",
@@ -34,7 +34,7 @@
34
34
  "eslint": ">= 8.5"
35
35
  },
36
36
  "devDependencies": {
37
- "eslint": "8.48.0",
37
+ "eslint": "8.49.0",
38
38
  "typescript": "5.2.2"
39
39
  }
40
40
  }
package/typescript.js CHANGED
@@ -29,6 +29,7 @@ module.exports = {
29
29
  '@typescript-eslint/prefer-reduce-type-parameter': 'error',
30
30
  '@typescript-eslint/prefer-string-starts-ends-with': 'error',
31
31
  '@typescript-eslint/prefer-ts-expect-error': 'error',
32
+ '@typescript-eslint/no-floating-promises': 'error',
32
33
  // https://github.com/typescript-eslint/typescript-eslint/issues/4619
33
34
  '@typescript-eslint/no-misused-promises': [
34
35
  'error',
@@ -38,10 +39,12 @@ module.exports = {
38
39
  },
39
40
  },
40
41
  ],
42
+ '@typescript-eslint/no-explicit-any': 'warn',
41
43
  '@typescript-eslint/no-unused-vars': 'error',
42
44
  '@typescript-eslint/consistent-type-imports': 'error',
43
45
  '@typescript-eslint/consistent-type-exports': 'error',
44
46
  '@typescript-eslint/consistent-type-definitions': ['error', 'type'],
47
+ '@typescript-eslint/no-redundant-type-constituents': 'warn',
45
48
  // We favor object defaults instead of default props in TS
46
49
  // https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/default_props/#you-may-not-need-defaultprops
47
50
  // https://twitter.com/dan_abramov/status/1133878326358171650