about summary refs log tree commit diff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-10-14 04:06:07 -0500
committerGitHub <noreply@github.com>2024-10-14 12:06:07 +0300
commit830b4bee9c738576769b75218dadc6b1de1ba3a3 (patch)
tree44cdef83dfc29fde3670df88a8e339bf77c92d28 /.eslintrc.js
parent7f3b5366e6908cff28295fbc4efee53550f0b4ea (diff)
downloadvoidsky-830b4bee9c738576769b75218dadc6b1de1ba3a3.tar.zst
Add Admonition component (#5680)
* Add Admonition component

* Tweak mobile padding

* Format
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index f6407fa6f..66e75d485 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -23,7 +23,16 @@ module.exports = {
     'bsky-internal/avoid-unwrapped-text': [
       'error',
       {
-        impliedTextComponents: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'P'],
+        impliedTextComponents: [
+          'H1',
+          'H2',
+          'H3',
+          'H4',
+          'H5',
+          'H6',
+          'P',
+          'Admonition',
+        ],
         impliedTextProps: [],
         suggestedTextWrappers: {
           Button: 'ButtonText',