diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index df0c76230..a999fd24b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -23,17 +23,12 @@ module.exports = { 'bsky-internal/avoid-unwrapped-text': [ 'error', { - impliedTextComponents: [ - 'Button', // TODO: Not always safe. - 'H1', - 'H2', - 'H3', - 'H4', - 'H5', - 'H6', - 'P', - ], + impliedTextComponents: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'P'], impliedTextProps: [], + suggestedTextWrappers: { + Button: 'ButtonText', + 'ToggleButton.Button': 'ToggleButton.ButtonText', + }, }, ], 'simple-import-sort/imports': [ |