mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Fix lint issues (#285)
* fix(lint): cascadeStyles always passed true * fix(lint): gomnd
This commit is contained in:
+4
-4
@@ -9,17 +9,17 @@ var DraculaStyleConfig = ansi.StyleConfig{
|
||||
BlockSuffix: "\n",
|
||||
Color: stringPtr("#f8f8f2"),
|
||||
},
|
||||
Margin: uintPtr(2),
|
||||
Margin: uintPtr(defaultMargin),
|
||||
},
|
||||
BlockQuote: ansi.StyleBlock{
|
||||
StylePrimitive: ansi.StylePrimitive{
|
||||
Color: stringPtr("#f1fa8c"),
|
||||
Italic: boolPtr(true),
|
||||
},
|
||||
Indent: uintPtr(2),
|
||||
Indent: uintPtr(defaultMargin),
|
||||
},
|
||||
List: ansi.StyleList{
|
||||
LevelIndent: 2,
|
||||
LevelIndent: defaultMargin,
|
||||
StyleBlock: ansi.StyleBlock{
|
||||
StylePrimitive: ansi.StylePrimitive{
|
||||
Color: stringPtr("#f8f8f2"),
|
||||
@@ -115,7 +115,7 @@ var DraculaStyleConfig = ansi.StyleConfig{
|
||||
StylePrimitive: ansi.StylePrimitive{
|
||||
Color: stringPtr("#ffb86c"),
|
||||
},
|
||||
Margin: uintPtr(2),
|
||||
Margin: uintPtr(defaultMargin),
|
||||
},
|
||||
Chroma: &ansi.Chroma{
|
||||
Text: ansi.StylePrimitive{
|
||||
|
||||
Reference in New Issue
Block a user