Skip to content
#

styleguide

Here are 767 public repositories matching this topic...

storybook
lexsoft00
lexsoft00 commented Oct 22, 2020

Describe the bug
Storybook --host attribute it changes localhost where it should change network host.

start-storybook -h 192.168.89.89 -p 9009
Local:            http://192.168.89.89:9009
On your network:  http://10.0.2.15:9009

The expected result should be like the one bellow

Local:            http://localhost::9009/ 
On your network:  http://192.168.89.89:9009
react-styleguidist
style-dictionary
custa1200
custa1200 commented Oct 7, 2019

One of the consumers of our system uses curly braces for content replacement in strings.

Due to the way that SD currently uses curly braces in the build process there is no way I can have a string that includes the braces for consumption.

I have tried a number of ways to escape the braces with no luck

Other languages and templating systems seem to use the concept of using double curly b

orsinium
orsinium commented Oct 29, 2020

Rule request

Thesis

Detect if both possible results of a ternary operator return the same value.

# bad
# (all results below can be replaced by just `a`)
a if ... else a
a if a is not None else None
a if a != b else b
b if a == b else a

# ok
a if ... else c
a.split() if a is not None else None
a if a != b else c

Reasoning

It is either a bug or unnec

Improve this page

Add a description, image, and links to the styleguide topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the styleguide topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.