@scaleway/eslint-config-react 3.3.6 → 3.4.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 +36 -0
- package/package.json +5 -5
- package/shared.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,42 @@
|
|
|
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.4.1](https://github.com/scaleway/scaleway-lib/compare/@scaleway/eslint-config-react@3.4.0...@scaleway/eslint-config-react@3.4.1) (2022-02-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency eslint-config-prettier to v8.4.0 ([#643](https://github.com/scaleway/scaleway-lib/issues/643)) ([616464c](https://github.com/scaleway/scaleway-lib/commit/616464cce2dd9e27a4164c2e65b17944f0713431))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 3.4.0 (2022-02-17)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **eslint-config-react:** enforce class fields for react class ([#636](https://github.com/scaleway/scaleway-lib/issues/636)) ([56a3aaa](https://github.com/scaleway/scaleway-lib/commit/56a3aaa360ca18e27eb2abf038e1e976a11b3bd5))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### 3.3.8 (2022-02-15)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* **deps:** update typescript-eslint monorepo to v5.12.0 ([#633](https://github.com/scaleway/scaleway-lib/issues/633)) ([8c7acd2](https://github.com/scaleway/scaleway-lib/commit/8c7acd28586bafd60c3b7cfaed548a725198cc00))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### 3.3.7 (2022-02-08)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **deps:** update typescript-eslint monorepo to v5.11.0 ([#623](https://github.com/scaleway/scaleway-lib/issues/623)) ([7253a0e](https://github.com/scaleway/scaleway-lib/commit/7253a0ec486f27325abca540ba6d9fd08bb524f6))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
6
42
|
### 3.3.6 (2022-02-02)
|
|
7
43
|
|
|
8
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/eslint-config-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Scaleway React eslint shared config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -17,11 +17,11 @@
|
|
|
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.12.0",
|
|
21
|
+
"@typescript-eslint/parser": "5.12.0",
|
|
22
22
|
"eslint-config-airbnb": "19.0.4",
|
|
23
23
|
"eslint-config-airbnb-typescript": "16.1.0",
|
|
24
|
-
"eslint-config-prettier": "8.
|
|
24
|
+
"eslint-config-prettier": "8.4.0",
|
|
25
25
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
26
26
|
"eslint-plugin-import": "2.25.4",
|
|
27
27
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"eslint": ">= 8.5"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "44461d41f7a7dec2bce3648195a120a29caf2031"
|
|
35
35
|
}
|
package/shared.js
CHANGED
|
@@ -61,6 +61,10 @@ module.exports = {
|
|
|
61
61
|
'react/no-adjacent-inline-elements': 'error', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-adjacent-inline-elements.md
|
|
62
62
|
'prefer-object-has-own': 'error', // https://eslint.org/docs/rules/prefer-object-has-own
|
|
63
63
|
|
|
64
|
+
// We don't use babel-preset-airbnb so we can make those changes
|
|
65
|
+
'react/static-property-placement': ['error', 'static public field'],
|
|
66
|
+
'react/state-in-constructor': ['error', 'never'],
|
|
67
|
+
|
|
64
68
|
// To have consistent ordering in proptypes
|
|
65
69
|
'react/sort-prop-types': [
|
|
66
70
|
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
|