Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f92e66a

Browse files
authored
Switch to lightbulb emoji to denote rule suggestions (typescript-eslint#5473)
docs: switch to lightbulb emoji to denote rule suggestions
1 parent a767224 commit f92e66a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

β€Žpackages/website/src/components/RulesTable/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function RuleRow({ rule }: { rule: RulesMeta[number] }): JSX.Element | null {
3636
</td>
3737
<td className={styles.attrCol}>
3838
{rule.fixable ? 'πŸ”§\n' : '\n'}
39-
{rule.hasSuggestions ? 'πŸ› ' : ''}
39+
{rule.hasSuggestions ? 'πŸ’‘' : ''}
4040
</td>
4141
<td className={styles.attrCol}>
4242
{rule.docs.requiresTypeChecking ? 'πŸ’­' : ''}
@@ -168,7 +168,7 @@ export default function RulesTable({
168168
<RuleFilterCheckBox
169169
mode={showHasSuggestions}
170170
setMode={setShowHasSuggestion}
171-
label="πŸ›  has suggestions"
171+
label="πŸ’‘ has suggestions"
172172
/>
173173
<RuleFilterCheckBox
174174
mode={showTypeCheck}
@@ -181,7 +181,7 @@ export default function RulesTable({
181181
<tr>
182182
<th className={styles.ruleCol}>Rule</th>
183183
<th className={styles.attrCol}>βœ…{'\n'}πŸ”’</th>
184-
<th className={styles.attrCol}>πŸ”§{'\n'}πŸ› </th>
184+
<th className={styles.attrCol}>πŸ”§{'\n'}πŸ’‘</th>
185185
<th className={styles.attrCol}>πŸ’­</th>
186186
</tr>
187187
</thead>

β€Žpackages/website/src/theme/MDXComponents/RuleAttributes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function RuleAttributes({ name }: { name: string }): JSX.Element | null {
5555
</li>
5656
<li>
5757
<input type="checkbox" disabled checked={!!rule.hasSuggestions} />
58-
πŸ›  Suggestion Fixer
58+
πŸ’‘ Suggestion Fixer
5959
</li>
6060
</ul>
6161
</li>

0 commit comments

Comments
Β (0)