Skip to content

Commit c3637e1

Browse files
committed
bug: 🐞 fix issues after updating devDeps
1 parent 8764137 commit c3637e1

File tree

7 files changed

+21
-8
lines changed

7 files changed

+21
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"example-app"
77
],
88
"scripts": {
9-
"lint-md": "find . -name '*.md' -not -path './node_modules/*' -exec markdownlint --config ./.markdownlint.json --rules ./markdown-lint-custom-rules/no-relative-links.js {} +"
9+
"lint-md": "find . -name '*.md' -not -path '*/node_modules/*' -exec markdownlint --config ./.markdownlint.json --rules ./markdown-lint-custom-rules/no-relative-links.js {} +"
1010
},
1111
"devDependencies": {
1212
"lerna": "^8.0.0",

packages/eslint-plugin/README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,18 @@ This plugin exports some custom rules that you can optionally use in your projec
125125

126126
<!-- begin auto-generated rules list -->
127127

128+
💼 Configurations enabled in.\
129+
✅ Set in the `recommended` configuration.\
130+
🧪 Set in the `tests` configuration.\
128131
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
129132

130-
| Name | Description | 🔧 |
131-
| :-------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------- | :-- |
132-
| [await-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/await-user-event.md) | Enforces awaiting userEvent calls | 🔧 |
133-
| [no-different-displayname](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/no-different-displayname.md) | Enforce component displayName to match with component name | 🔧 |
134-
| [no-inline-style](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/no-inline-style.md) | Detect inline styles in JSX | |
135-
| [prefer-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/prefer-user-event.md) | Enforces usage of userEvent over fireEvent in tests. | 🔧 |
136-
| [require-named-effect](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/require-named-effect.md) | Enforces the use of named functions inside a useEffect | |
133+
| Name | Description | 💼 | 🔧 |
134+
| :-------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------- | :-- | :-- |
135+
| [await-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/await-user-event.md) | Enforces awaiting userEvent calls | 🧪 | 🔧 |
136+
| [no-different-displayname](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/no-different-displayname.md) | Enforce component displayName to match with component name | | 🔧 |
137+
| [no-inline-style](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/no-inline-style.md) | Detect inline styles in JSX | | |
138+
| [prefer-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/prefer-user-event.md) | Enforces usage of userEvent over fireEvent in tests. | 🧪 | 🔧 |
139+
| [require-named-effect](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/require-named-effect.md) | Enforces the use of named functions inside a useEffect | | |
137140

138141
<!-- end auto-generated rules list -->
139142

packages/eslint-plugin/docs/rules/await-user-event.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Enforces awaiting userEvent calls (`@bam.tech/await-user-event`)
22

3+
💼 This rule is enabled in the 🧪 `tests` config.
4+
35
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
46

57
<!-- end auto-generated rule header -->

packages/eslint-plugin/docs/rules/no-different-displayname.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Enforce component displayName to match with component name (`@bam.tech/no-different-displayname`)
22

3+
💼 This rule is enabled in the ✅ `recommended` config.
4+
35
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
46

57
<!-- end auto-generated rule header -->

packages/eslint-plugin/docs/rules/no-inline-style.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Detect inline styles in JSX (`@bam.tech/no-inline-style`)
22

3+
💼 This rule is enabled in the ✅ `recommended` config.
4+
35
<!-- end auto-generated rule header -->
46

57
> **Note:** This rule is a flat config adaptation of [`react-native/no-inline-styles`](https://github.com/Intellicode/eslint-plugin-react-native/blob/master/docs/rules/no-inline-styles.md).

packages/eslint-plugin/docs/rules/prefer-user-event.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Enforces usage of userEvent over fireEvent in tests (`@bam.tech/prefer-user-event`)
22

3+
💼 This rule is enabled in the 🧪 `tests` config.
4+
35
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
46

57
<!-- end auto-generated rule header -->

packages/eslint-plugin/docs/rules/require-named-effect.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Enforces the use of named functions inside a useEffect (`@bam.tech/require-named-effect`)
22

3+
💼 This rule is enabled in the ✅ `recommended` config.
4+
35
<!-- end auto-generated rule header -->
46

57
Force to use named functions inside a useEffect instead of lambda functions.

0 commit comments

Comments
 (0)