Skip to content

Commit 661db89

Browse files
author
Artem Sapegin
committed
Chore: Format code
1 parent 45e0bab commit 661db89

File tree

5 files changed

+38
-35
lines changed

5 files changed

+38
-35
lines changed

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
---
2-
name: "\U0001F41B Bug report"
2+
name: "\U0001F41B Bug report"
33
about: Something isn’t working as expected
4-
54
---
65

76
**Current behavior**
7+
88
<!-- A clear and concise description of what the bug is -->
99

1010
**To reproduce**
1111

12-
<!--
13-
Post a link to a reproducible demo repository here.
14-
15-
1. Fork the example project repository: https://github.com/styleguidist/example
16-
(please don’t use the main, styleguidist/react-styleguidist, repository).
17-
2. Modify it to reproduce the issue.
18-
3. Push to GitHub and paste the link here.
19-
20-
Most likely you’ll find an issue yourself, while creating a demo.
21-
22-
Make sure you’re using the latest version of React Styleguidist.
23-
24-
💀 Issues without a demo will be closed! 💀
12+
<!--
13+
Post a link to a reproducible demo repository here.
14+
15+
1. Fork the example project repository: https://github.com/styleguidist/example
16+
(please don’t use the main, styleguidist/react-styleguidist, repository).
17+
2. Modify it to reproduce the issue.
18+
3. Push to GitHub and paste the link here.
19+
20+
Most likely you’ll find an issue yourself, while creating a demo.
21+
22+
Make sure you’re using the latest version of React Styleguidist.
23+
24+
💀 Issues without a demo will be closed! 💀
2525
-->
2626

2727
**Expected behavior**
28+
2829
<!-- A clear and concise description of what you expected to happen -->
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
---
2-
name: "\U0001F680 Feature request"
2+
name: "\U0001F680 Feature request"
33
about: I have a suggestion (and might want to implement myself)
4-
54
---
65

76
<!-- Consider opening a pull request instead: it’s a more productive way to discuss new features -->
87

98
**The problem**
9+
1010
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
1111

1212
**Proposed solution**
13+
1314
<!-- A clear and concise description of what you want to happen. Add any considered drawbacks. -->
1415

1516
**Alternative solutions**
17+
1618
<!-- A clear and concise description of any alternative solutions or features you’ve considered. -->
1719

1820
**Additional context**
21+
1922
<!-- Add any other context or screenshots about the feature request here. -->

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
name: "\U0001F914 Support question"
2+
name: "\U0001F914 Support question"
33
about: I have a question or don’t know how to do something
4-
54
---
65

76
--------------^ Click “Preview”!
@@ -10,7 +9,7 @@ If you have a support question, ask it on [Stack Overflow](https://stackoverflow
109

1110
Before submitting a new question, make sure you:
1211

13-
* Searched existing [Stack Overflow questions](https://stackoverflow.com/questions/tagged/react-styleguidist).
12+
* Searched existing [Stack Overflow questions](https://stackoverflow.com/questions/tagged/react-styleguidist).
1413
* Searched opened and closed [GitHub issues](https://github.com/styleguidist/react-styleguidist/issues?utf8=%E2%9C%93&q=is%3Aissue).
1514
* Read [the documentation](https://react-styleguidist.js.org/docs/getting-started.html).
1615
* Googled your question.

.github/ISSUE_TEMPLATE/Support.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
name: "\U0001F984 Support Styleguidist development"
2+
name: "\U0001F984 Support Styleguidist development"
33
about: I want to support efforts in maintaining this community-driven project
4-
54
---
65

76
--------------^ Click “Preview”!
@@ -10,11 +9,11 @@ Developing and maintaining an open source project is a big effort. Styleguidist
109

1110
There are two ways you can help:
1211

13-
1. Help develop and maintain the project:
12+
1. Help develop and maintain the project:
1413

15-
* Answer questions in [GitHub issues](https://github.com/styleguidist/react-styleguidist/issues) and [Stack Overflow](https://stackoverflow.com/questions/tagged/react-styleguidist).
16-
* Review [pull requests](https://github.com/styleguidist/react-styleguidist/pulls).
17-
* Fix bugs and add new features.
18-
* Write articles and talk about Styleguidist on conferences and meetups (we’re always happy to review your texts and slides).
14+
* Answer questions in [GitHub issues](https://github.com/styleguidist/react-styleguidist/issues) and [Stack Overflow](https://stackoverflow.com/questions/tagged/react-styleguidist).
15+
* Review [pull requests](https://github.com/styleguidist/react-styleguidist/pulls).
16+
* Fix bugs and add new features.
17+
* Write articles and talk about Styleguidist on conferences and meetups (we’re always happy to review your texts and slides).
1918

20-
2. Donate via [Open Collective](https://opencollective.com/styleguidist).
19+
2. Donate via [Open Collective](https://opencollective.com/styleguidist).

scripts/make-webpack-config.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,14 @@ module.exports = function(config, env) {
9696
compress: {
9797
keep_fnames: true,
9898
warnings: false,
99-
/**
100-
* We disable 'reduce_funcs' for keeping uglify from inlining Preact's VNode.
101-
* If enabled, the 'new VNode()' is replaced with a anonymous 'function(){}',
102-
* which is problematic for 'preact-compat', since it extends the VNode prototype
103-
* to accomodate React's API.
104-
* */
105-
reduce_funcs: false
99+
/*
100+
* Disable reduce_funcs to keep UglifyJS from inlining
101+
* Preact's VNode. If enabled, the 'new VNode()' is replaced
102+
* with a anonymous 'function(){}', which is problematic for
103+
* preact-compat, since it extends the VNode prototype to
104+
* accomodate React's API.
105+
*/
106+
reduce_funcs: false,
106107
},
107108
mangle: {
108109
keep_fnames: true,

0 commit comments

Comments
 (0)