Skip to content

Commit b9e1702

Browse files
authored
expand Alex check allowed terms list (#4714)
1 parent 682333d commit b9e1702

File tree

16 files changed

+7
-30
lines changed

16 files changed

+7
-30
lines changed

.alexrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ exports.allow = [
2424

2525
// allowing this term, since it seems to be used not in insensitive cases
2626
'straightforward',
27+
28+
// allowing those terms, since they refer to colors and the surname of one of core contributors
29+
'black',
30+
'white',
31+
32+
// allowing this term, since we use it for expressing gratitude for certain contributors
33+
'special',
2734
];
2835

2936
// Use a "maybe" level of profanity instead of the default "unlikely".

docs/colors.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ This is a shortcut for `rgba(0,0,0,0)`, same like in [CSS3](https://www.w3.org/T
7474

7575
Named colors implementation follows the [CSS3/SVG specification](https://www.w3.org/TR/css-color-3/#svg-color):
7676

77-
<!-- alex ignore black white -->
78-
7977
- <ins style={{background: '#f0f8ff'}} className="color-box" /> aliceblue (<code>#f0f8ff</code>)
8078
- <ins style={{background: '#faebd7'}} className="color-box" /> antiquewhite (<code>#faebd7</code>)
8179
- <ins style={{background: '#00ffff'}} className="color-box" /> aqua (<code>#00ffff</code>)

website/blog/2020-07-06-version-0.63.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ At the same time, we are dropping support for Node 8. [Its LTS maintenance cycle
136136

137137
Thank you to the hundreds of contributors that helped make 0.63 possible!
138138

139-
<!--alex ignore special white-->
140-
141139
> Special thanks to [Rick Hanlon](https://twitter.com/rickhanlonii) for authoring the section on `LogBox` and [Eli White](https://twitter.com/Eli_White) for authoring the `Pressable` part of this article.
142140
143141
To see all the updates, take a look at the [0.63 changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0630).

website/blog/2021-08-26-many-platform-vision.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ As another example, our research into user perception of speed on the web led to
4747

4848
In addition to domain-specific engineers and meetups and conferences, each platform also brings other unique players solving similar problems. On the web, React (which directly powers React Native) frequently draws inspiration from other open source web frameworks like [Vue](https://vuejs.org/), [Preact](https://preactjs.com/), and [Svelte](https://svelte.dev/). On mobile, React Native has been inspired by other open source mobile frameworks, and we have been learning from other mobile frameworks built inside Facebook.
4949

50-
<!-- alex ignore special -->
51-
5250
**We believe that competition leads to better outcomes for everyone in the long run.** By studying what makes other players on each platform great, we can learn lessons that may apply to other platforms. For example, the race to simplify complex websites influenced the development of React and gave React Native a head start to offer a declarative framework for mobile apps. The demand for faster iteration cycles and build times for the web also led to the development of Fast Refresh which significantly benefited React Native. Similarly, performance optimizations in our internal mobile frameworks — especially around data fetching and parallelization — challenged us to improve React Native in a way that has also influenced React when we built the new [Facebook.com](https://facebook.com/) website.
5351

5452
<figure>

website/blog/2021-10-26-toward-hermes-being-the-default.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,4 @@ It’s extremely important for us to prepare the ecosystem for a smooth adoption
8181

8282
We’d love to thank the Hermes team, the React Native team, and the many contributors from the React Native community for their work to improve Hermes.
8383

84-
<!-- alex ignore white -->
85-
8684
I’d also love to personally thank (in alphabetic order) Eli White, Luna Wei, Neil Dhar, Tim Yung, Tzvetan Mikov, and many others for their help during the writing.

website/blog/2024-10-23-release-0.76-new-architecture.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ The [previous shadow functionality](https://reactnative.dev/docs/shadow-props) h
9191

9292
#### Limitations & Spec Deviations
9393

94-
<!--alex ignore black -->
95-
9694
- The default shadow color is black, not the parent’s color
9795
- Android normal shadows are supported on **Android 9+**
9896
- Android inset shadows are supported on **Android 10+**

website/blog/2025-01-21-version-0.77.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ To help have more granular control about what is blending together, we also adde
124124
- `overlay`: Multiplies or screens the colors, depending on the backdrop color value.
125125
- `darken`: Selects the darker of the backdrop and source colors.
126126
- `lighten`: Selects the lighter of the backdrop and source colors.
127-
<!--alex ignore black-->
128127
- `color-dodge`: Brightens the backdrop color to reflect the source color. Painting with black produces no changes.
129-
<!--alex ignore white-->
130128
- `color-burn`: Darkens the backdrop color to reflect the source color. Painting with white produces no change.
131129
- `hard-light`: Multiplies or screens the colors, depending on the source color value. The effect is similar to shining a harsh spotlight on the backdrop.
132130
- `soft-light`: Darkens or lightens the colors, depending on the source color value. The effect is similar to shining a diffused spotlight on the backdrop.

website/blog/2025-06-12-react-native-0.80.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ Further smaller breaking changes are listed [in the CHANGELOG for 0.80](https://
205205

206206
React Native 0.80 contains over 1167 commits from 127 contributors. Thanks for all your hard work!
207207

208-
<!--alex ignore special white-->
209-
210208
We want to send a special thank you to those community members that shipped significant contributions in this release:
211209

212210
- [Christian Falch](https://github.com/chrfalch) for the work on the iOS prebuilds for React Native Dependencies

website/versioned_docs/version-0.73/colors.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ This is a shortcut for `rgba(0,0,0,0)`, same like in [CSS3](https://www.w3.org/T
7474

7575
Named colors implementation follows the [CSS3/SVG specification](https://www.w3.org/TR/css-color-3/#svg-color):
7676

77-
<!-- alex ignore black white -->
78-
7977
- <ins style={{background: '#f0f8ff'}} className="color-box" /> aliceblue (<code>#f0f8ff</code>)
8078
- <ins style={{background: '#faebd7'}} className="color-box" /> antiquewhite (<code>#faebd7</code>)
8179
- <ins style={{background: '#00ffff'}} className="color-box" /> aqua (<code>#00ffff</code>)

website/versioned_docs/version-0.74/colors.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ This is a shortcut for `rgba(0,0,0,0)`, same like in [CSS3](https://www.w3.org/T
7474

7575
Named colors implementation follows the [CSS3/SVG specification](https://www.w3.org/TR/css-color-3/#svg-color):
7676

77-
<!-- alex ignore black white -->
78-
7977
- <ins style={{background: '#f0f8ff'}} className="color-box" /> aliceblue (<code>#f0f8ff</code>)
8078
- <ins style={{background: '#faebd7'}} className="color-box" /> antiquewhite (<code>#faebd7</code>)
8179
- <ins style={{background: '#00ffff'}} className="color-box" /> aqua (<code>#00ffff</code>)

0 commit comments

Comments
 (0)