@hero-design/eslint-plugin 8.42.4 → 8.42.6-rc2.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 +23 -0
- package/lib/index.js +19 -8
- package/package.json +3 -3
- package/.turbo/turbo-publish:npm.log +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @hero-design/eslint-plugin
|
|
2
|
+
|
|
3
|
+
## 8.42.6-rc2.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2367](https://github.com/Thinkei/hero-design/pull/2367) [`df6fa52e8`](https://github.com/Thinkei/hero-design/commit/df6fa52e80a08607ac244c496667b8ccdee4b758) Thanks [@ttkien](https://github.com/ttkien)! - - [SectionHeading] Remove fontSize and fontWeight
|
|
8
|
+
|
|
9
|
+
- [BottomNavigation] Remove component
|
|
10
|
+
- [FAB.ActionGroup] Remove headerTitle
|
|
11
|
+
- [Checkbox] Remove withBorder prop
|
|
12
|
+
- [Carousel] Remove pageControlPosition
|
|
13
|
+
- [Tag] Remove variant prop
|
|
14
|
+
- [Carousel] Remove shouldShowPagination prop
|
|
15
|
+
- [Error] Remove visible prop
|
|
16
|
+
|
|
17
|
+
- [#2371](https://github.com/Thinkei/hero-design/pull/2371) [`f8ca1d311`](https://github.com/Thinkei/hero-design/commit/f8ca1d311e914166f43824e447828bbf5a0278e2) Thanks [@phucdph](https://github.com/phucdph)! - Initialize RC version
|
|
18
|
+
|
|
19
|
+
## 8.42.5
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [#2302](https://github.com/Thinkei/hero-design/pull/2302) [`2293190d1`](https://github.com/Thinkei/hero-design/commit/2293190d105fb97dc699e39990c3148f3509fafb) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - Upgrade expo sdk and react-native version
|
package/lib/index.js
CHANGED
|
@@ -21,22 +21,33 @@ module.exports = {
|
|
|
21
21
|
internalRn: {
|
|
22
22
|
plugins: ['@hero-design'],
|
|
23
23
|
rules: {
|
|
24
|
-
// Rules for the
|
|
25
|
-
'@hero-design/no-deprecated-component-prop
|
|
26
|
-
'
|
|
24
|
+
// Rules for the current version
|
|
25
|
+
'@hero-design/no-deprecated-component-prop': [
|
|
26
|
+
'error',
|
|
27
27
|
{
|
|
28
28
|
package: '@hero-design/rn',
|
|
29
29
|
components: [
|
|
30
|
-
{ name: 'Tag', props: ['variant'] },
|
|
31
|
-
{ name: 'FAB.ActionGroup', props: ['headerTitle'] },
|
|
32
|
-
{ name: 'Checkbox', props: ['withBorder'] },
|
|
33
30
|
{
|
|
34
|
-
name: '
|
|
35
|
-
props: ['
|
|
31
|
+
name: 'Carousel',
|
|
32
|
+
props: ['pageControlPosition', 'shouldShowPagination'],
|
|
36
33
|
},
|
|
34
|
+
{ name: 'Checkbox', props: ['withBorder'] },
|
|
35
|
+
{ name: 'FAB.ActionGroup', props: ['headerTitle'] },
|
|
36
|
+
{ name: 'Error', props: ['visible'] },
|
|
37
|
+
{ name: 'Tag', props: ['variant'] },
|
|
38
|
+
{ name: 'SectionHeading', props: ['fontSize', 'fontWeight'] },
|
|
37
39
|
],
|
|
38
40
|
},
|
|
39
41
|
],
|
|
42
|
+
|
|
43
|
+
// Rules for the next major version
|
|
44
|
+
'@hero-design/no-deprecated-component-prop-next': [
|
|
45
|
+
'warn',
|
|
46
|
+
{
|
|
47
|
+
package: '@hero-design/rn',
|
|
48
|
+
components: [],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
40
51
|
},
|
|
41
52
|
},
|
|
42
53
|
recommendedRn: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/eslint-plugin",
|
|
3
|
-
"version": "8.42.
|
|
3
|
+
"version": "8.42.6-rc2.0",
|
|
4
4
|
"description": "Hero Design's eslint plugin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"eslint": "^8.10.0",
|
|
26
26
|
"eslint-plugin-eslint-plugin": "^5.0.0",
|
|
27
27
|
"eslint-plugin-node": "^11.1.0",
|
|
28
|
-
"jest": "^29.
|
|
29
|
-
"prettier-config-hd": "8.42.
|
|
28
|
+
"jest": "^29.2.1",
|
|
29
|
+
"prettier-config-hd": "8.42.5-rc2.0"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
32
|
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
|
|
File without changes
|