Skip to content

Commit 682333d

Browse files
authored
update lint stack, reformat files (#4705)
1 parent c962033 commit 682333d

29 files changed

+91
-101
lines changed

docs/image-style-props.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ For details of how this works under the hood, see [Fresco documentation](https:/
334334
Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to `cover`.
335335

336336
- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that:
337-
338337
- Both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding)
339338
- At least one dimension of the scaled image will be equal to the corresponding dimension of the view (minus padding)
340339

docs/image.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ More details about `resize` and `scale` can be found at https://frescolib.org/do
351351
Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to `cover`.
352352

353353
- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that
354-
355354
- both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding)
356355
- at least one dimension of the scaled image will be equal to the corresponding dimension of the view (minus padding)
357356

docs/the-new-architecture/create-module-library.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export default NativeSampleModule;
8282
```
8383

8484
3. Copy the native module over:
85-
8685
- Replace the code in the `android/src/main/java/com/<name-of-the-module>` with the code you wrote in the app for your native module, if any.
8786
- Replace the code in the `ios` folder with the code you wrote in your app for your native module, if any.
8887
- Replace the code in the `cpp` folder with the code you wrote in your app for your native module, if any.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
},
2222
"dependencies": {
2323
"eslint": "^8.57.1",
24-
"eslint-config-prettier": "^10.1.1",
25-
"eslint-plugin-mdx": "^3.2.0",
26-
"eslint-plugin-prettier": "^5.2.3",
27-
"eslint-plugin-yml": "^1.17.0",
24+
"eslint-config-prettier": "^10.1.8",
25+
"eslint-plugin-mdx": "^3.6.2",
26+
"eslint-plugin-prettier": "^5.5.4",
27+
"eslint-plugin-yml": "^1.18.0",
2828
"husky": "^9.1.7",
2929
"netlify-plugin-cache": "^1.0.3",
30-
"prettier": "^3.5.3",
31-
"pretty-quick": "^4.1.1"
30+
"prettier": "^3.6.2",
31+
"pretty-quick": "^4.2.2"
3232
},
3333
"packageManager": "[email protected]"
3434
}

website/blog/2016-08-19-right-to-left-support-for-react-native-apps.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ With this update, when you allow RTL layout for your app:
4545
## Making an App RTL-ready
4646

4747
1. To support RTL, you should first add the RTL language bundles to your app.
48-
4948
- See the general guides from [iOS](https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/LocalizingYourApp/LocalizingYourApp.html#//apple_ref/doc/uid/10000171i-CH5-SW1) and [Android](https://developer.android.com/training/basics/supporting-devices/languages.html).
5049

5150
2. Allow RTL layout for your app by calling the `allowRTL()` function at the beginning of native code. We provided this utility to only apply to an RTL layout when your app is ready. Here is an example:

website/blog/2021-04-08-GAAD-March-Accessibility-Issue-Update.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,24 @@ Thank you to all the community members who have participated. You are truly movi
2323
- [Added talkback support for TouchableNativeFeedback accessibility: disabled prop #31224](https://github.com/facebook/react-native/pull/31224) closed by [@kyamashiro73](https://twitter.com/kyamashiro73)
2424

2525
- [Accessibility/button test #31189](https://github.com/facebook/react-native/pull/31189) closed by [@huzaifaaak ](https://twitter.com/huzaifaaak)
26-
2726
- Adds a test for accessibilityState for button
2827

2928
## Fixes
3029

3130
- `Button` component (fixed by [#31001](https://github.com/facebook/react-native/pull/31001)):
32-
3331
- Now announces when it is disabled
3432

3533
- Disables click functionality for screen readers when the button is disabled
3634

3735
- Announces the selected state of the button
3836

3937
- `TextInput` component (fixed by [#31144](https://github.com/facebook/react-native/pull/31144)):
40-
4138
- Announces "selected" when the "selected" accessibilityState is set to true and the element is focused
4239

4340
- `TouchableHighlight` component (fixed by [#31135](https://github.com/facebook/react-native/pull/31135)):
44-
4541
- Disables click functionality for screen readers when the component is disabled
4642

4743
- `TouchableNativeFeedback` component (fixed by [#31224](https://github.com/facebook/react-native/pull/31224)):
48-
4944
- Disables click functionality for screen readers when the component is disabled
5045

5146
## Other Progress

website/versioned_docs/version-0.73/image-style-props.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ For details of how this works under the hood, see [Fresco documentation](https:/
350350
Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to `cover`.
351351

352352
- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that:
353-
354353
- Both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding)
355354
- At least one dimension of the scaled image will be equal to the corresponding dimension of the view (minus padding)
356355

website/versioned_docs/version-0.73/image.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ A string indicating which referrer to use when fetching the resource. Sets the v
347347
Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to `cover`.
348348

349349
- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that
350-
351350
- both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding)
352351
- at least one dimension of the scaled image will be equal to the corresponding dimension of the view (minus padding)
353352

website/versioned_docs/version-0.73/pushnotificationios.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ React Native versions lower than 0.60.0:
2323
Add the PushNotificationIOS library to your Podfile: ./ios/Podfile
2424

2525
- CocoaPods:
26-
2726
- Add the PushNotificationIOS library to your Podfile: ./ios/Podfile
2827

2928
```ruby

website/versioned_docs/version-0.74/image-style-props.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ For details of how this works under the hood, see [Fresco documentation](https:/
350350
Determines how to resize the image when the frame doesn't match the raw image dimensions. Defaults to `cover`.
351351

352352
- `cover`: Scale the image uniformly (maintain the image's aspect ratio) so that:
353-
354353
- Both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding)
355354
- At least one dimension of the scaled image will be equal to the corresponding dimension of the view (minus padding)
356355

0 commit comments

Comments
 (0)