@scaleway/eslint-config-react 3.4.50 → 3.5.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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.5.0](https://github.com/scaleway/scaleway-lib/compare/@scaleway/eslint-config-react@3.4.50...@scaleway/eslint-config-react@3.5.0) (2022-08-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * **eslint-config:** disable prefer-default-export ([#913](https://github.com/scaleway/scaleway-lib/issues/913)) ([7d311a6](https://github.com/scaleway/scaleway-lib/commit/7d311a64d03d5d600d429f4b70d011319134a92b))
12
+
13
+
14
+
6
15
  ## [3.4.50](https://github.com/scaleway/scaleway-lib/compare/@scaleway/eslint-config-react@3.4.49...@scaleway/eslint-config-react@3.4.50) (2022-08-09)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/eslint-config-react",
3
- "version": "3.4.50",
3
+ "version": "3.5.0",
4
4
  "description": "Scaleway React eslint shared config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -35,5 +35,5 @@
35
35
  "eslint": "8.21.0",
36
36
  "typescript": "4.7.4"
37
37
  },
38
- "gitHead": "48a4b5a294d0f266844fd5bc521c269f6c497c4f"
38
+ "gitHead": "13368c99c89d06f6203104561fc50f7eec92515d"
39
39
  }
package/shared.js CHANGED
@@ -21,6 +21,8 @@ module.exports = {
21
21
  'newlines-between': 'never',
22
22
  },
23
23
  ],
24
+ // We allow named and default export
25
+ 'import/prefer-default-export': 'off',
24
26
  // This allows us to reenable ForOfStatement.
25
27
  // While this has been disabled in airbnb configuration it's native to the browsers we support
26
28
  // so the original argument about weight is no up to date https://github.com/airbnb/javascript/issues/1271