@scaleway/eslint-config-react 3.1.0 → 3.2.1
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 +37 -0
- package/package.json +6 -6
- package/typescript.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,43 @@
|
|
|
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.2.1 (2021-12-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency eslint-plugin-react to v7.28.0 ([#555](https://github.com/scaleway/scaleway-lib/issues/555)) ([ab077a4](https://github.com/scaleway/scaleway-lib/commit/ab077a44344d339bf7caebe633259cf6e8b542b6))
|
|
12
|
+
* **deps:** update typescript-eslint monorepo to v5.8.0 ([#552](https://github.com/scaleway/scaleway-lib/issues/552)) ([34cbce8](https://github.com/scaleway/scaleway-lib/commit/34cbce88093b260cc5d0e4d26ebd9d90efe75c7d))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## 3.2.0 (2021-12-20)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **eslint-config-react:** disable react/require-default-props in ts projects ([#546](https://github.com/scaleway/scaleway-lib/issues/546)) ([7301d14](https://github.com/scaleway/scaleway-lib/commit/7301d1441a5993113f9b61925ea94f8326b24f35))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### 3.1.2 (2021-12-16)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **deps:** update typescript-eslint monorepo to v5.7.0 ([#541](https://github.com/scaleway/scaleway-lib/issues/541)) ([aef77ac](https://github.com/scaleway/scaleway-lib/commit/aef77acc7db670b1d20c059ae3effda9da35dbe4))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### [3.1.1](https://github.com/scaleway/scaleway-lib/compare/@scaleway/eslint-config-react@3.1.0...@scaleway/eslint-config-react@3.1.1) (2021-12-10)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* **deps:** pin dependency eslint-plugin-eslint-comments to 3.2.0 ([#536](https://github.com/scaleway/scaleway-lib/issues/536)) ([b0fea13](https://github.com/scaleway/scaleway-lib/commit/b0fea134507fda853ce7aefe58052cc5e7c37ef6))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
6
43
|
## 3.1.0 (2021-12-10)
|
|
7
44
|
|
|
8
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/eslint-config-react",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Scaleway React eslint shared config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
21
|
-
"@typescript-eslint/parser": "5.
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "5.8.0",
|
|
21
|
+
"@typescript-eslint/parser": "5.8.0",
|
|
22
22
|
"eslint-config-airbnb": "19.0.2",
|
|
23
23
|
"eslint-config-airbnb-typescript": "16.1.0",
|
|
24
24
|
"eslint-config-prettier": "8.3.0",
|
|
25
|
-
"eslint-plugin-eslint-comments": "
|
|
25
|
+
"eslint-plugin-eslint-comments": "3.2.0",
|
|
26
26
|
"eslint-plugin-import": "2.25.3",
|
|
27
27
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
28
|
-
"eslint-plugin-react": "7.
|
|
28
|
+
"eslint-plugin-react": "7.28.0",
|
|
29
29
|
"eslint-plugin-react-hooks": "4.3.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"eslint": "7.x || 8.x"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "5a64895a77913e8fc6b3588ad7e9559f6009b0cc"
|
|
35
35
|
}
|
package/typescript.js
CHANGED
|
@@ -9,5 +9,9 @@ module.exports = {
|
|
|
9
9
|
plugins: ['@typescript-eslint'],
|
|
10
10
|
rules: {
|
|
11
11
|
'@typescript-eslint/no-unused-vars': ['error'],
|
|
12
|
+
// We favor object defaults instead of default props in TS
|
|
13
|
+
// https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/default_props/#you-may-not-need-defaultprops
|
|
14
|
+
// https://twitter.com/dan_abramov/status/1133878326358171650
|
|
15
|
+
'react/require-default-props': 'off',
|
|
12
16
|
},
|
|
13
17
|
}
|