The Wayback Machine - https://web.archive.org/web/20201123205741/https://github.com/topics/styleguide
Skip to content
#

styleguide

Here are 764 public repositories matching this topic...

storybook
react-styleguidist
lyz810
lyz810 commented Nov 13, 2020

Current behavior

run script styleguidist server, after reload page, the dev server is crash

To reproduce
1.upgrade to 11.1.2 or 11.1.1, run styleguidist server and open styleguidist in chrome
2.Open chrome console panel
3. type new WebSocket('ws://localhost:6060/sockjs-node') and press enter
4. repeat step3 twice

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.