Skip to content

Commit

Permalink
flood: rearrange, remove misc files and reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed Nov 15, 2020
1 parent ba23f01 commit 1a878d5
Show file tree
Hide file tree
Showing 86 changed files with 700 additions and 917 deletions.
87 changes: 0 additions & 87 deletions .eslintrc.js

This file was deleted.

29 changes: 29 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"extends": ["plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"],

"parserOptions": {
"project": "./tsconfig.json"
},

"env": {
"browser": false,
"node": true
},

"rules": {
"import/no-extraneous-dependencies": 0,
"no-underscore-dangle": [2, {"allow": ["_id"]}],
"@typescript-eslint/lines-between-class-members": ["error", "always", {"exceptAfterSingleLine": true}],
"@typescript-eslint/no-unused-vars": ["error", {"argsIgnorePattern": "^_"}]
},
"overrides": [
{
"files": ["*.js", "*.jsx"],
"extends": ["prettier", "prettier/react"],
"parser": "babel-eslint",
"rules": {
"@typescript-eslint/no-var-requires": 0
}
}
]
}
28 changes: 14 additions & 14 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We love contributions from everyone.
By participating in this project,
you agree to abide by the thoughtbot [code of conduct].

[code of conduct]: https://thoughtbot.com/open-source-code-of-conduct
[code of conduct]: https://thoughtbot.com/open-source-code-of-conduct

# Issue

Expand All @@ -16,21 +16,21 @@ See [PULL_REQUEST_TEMPLATE.md](PULL_REQUEST_TEMPLATE.md).

# Code quality

+ Be sure to use 2 spaces instead of tabulations.
- Be sure to use 2 spaces instead of tabulations.

# Labels

Category | Label(s) | Color(s)
--- | --- | ---
Platform | ![](labels/bsd.png) ![](labels/docker.png) ![](labels/linux.png) ![](labels/macOS.png) ![](labels/windows.png) | #BFD4F2
Problems | ![](labels/bug.png) ![](labels/security.png) | #EE3F46
Severity | ![](labels/critical.png) | #B60205
Type | ![](labels/code.png) ![](labels/design.png) ![](labels/documentation.png) ![](labels/test.png) | #FFC274
Feedback | ![](labels/discussion.png) ![](labels/question.png) | #CC317C
Improvements | ![](labels/enhancement.png) ![](labels/optimization.png) ![](labels/performance.png) | #5EBEFF
Help | ![](labels/help%20wanted.png) | #76C3A9
Additions | ![](labels/feature.png) | #90C954
Pending | ![](labels/can't%20reproduce.png) ![](labels/in%20progress.png) ![](labels/more%20info%20needed.png) ![](labels/waiting%20feedback.png) ![](labels/watchlist.png) | #FBCA04
Inactive | ![](labels/duplicate.png) ![](labels/invalid.png) ![](labels/not%20a%20bug.png) ![](labels/on%20hold.png) ![](labels/wontfix.png) | #D2DAE1
| Category | Label(s) | Color(s) |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| Platform | ![](labels/bsd.png) ![](labels/docker.png) ![](labels/linux.png) ![](labels/macOS.png) ![](labels/windows.png) | #BFD4F2 |
| Problems | ![](labels/bug.png) ![](labels/security.png) | #EE3F46 |
| Severity | ![](labels/critical.png) | #B60205 |
| Type | ![](labels/code.png) ![](labels/design.png) ![](labels/documentation.png) ![](labels/test.png) | #FFC274 |
| Feedback | ![](labels/discussion.png) ![](labels/question.png) | #CC317C |
| Improvements | ![](labels/enhancement.png) ![](labels/optimization.png) ![](labels/performance.png) | #5EBEFF |
| Help | ![](labels/help%20wanted.png) | #76C3A9 |
| Additions | ![](labels/feature.png) | #90C954 |
| Pending | ![](labels/can't%20reproduce.png) ![](labels/in%20progress.png) ![](labels/more%20info%20needed.png) ![](labels/waiting%20feedback.png) ![](labels/watchlist.png) | #FBCA04 |
| Inactive | ![](labels/duplicate.png) ![](labels/invalid.png) ![](labels/not%20a%20bug.png) ![](labels/on%20hold.png) ![](labels/wontfix.png) | #D2DAE1 |

**Note (if there is a need to add labels)**: in order to take a sharp screenshot of labels with Firefox: Right click the label => Inspect element => Right click the element on the inspector => Screenshot Node
30 changes: 20 additions & 10 deletions .github/ISSUE_TEMPLATE/01_bug_report.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,54 @@
---
name: "🐞 Bug Report"
about: "Report a general bug in flood"
name: '🐞 Bug Report'
about: 'Report a general bug in flood'
---

Type: Bug Report

- [ ] Try to follow the update procedure described in the README and try again before opening this issue.
- [ ] Please check the [F.A.Q.](https://github.com/Flood-UI/flood/wiki/F.A.Q.).
- [ ] Please check the [Troubleshooting](https://github.com/Flood-UI/flood/wiki/Troubleshooting) wiki section.

## Your Environment

<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
+ Version (stable release) `git --no-pager tag`
+ Commit ID (development release) `git --no-pager log -1`
* Environment name and version:
+ Node.js version `node --version`
+ npm version `npm --version`
+ Web browser `name and version`
* Operating System and version:

- Version used:
- Version (stable release) `git --no-pager tag`
- Commit ID (development release) `git --no-pager log -1`
- Environment name and version:
- Node.js version `node --version`
- npm version `npm --version`
- Web browser `name and version`
- Operating System and version:

## Summary

<!--- Provide a general summary of the issue in the Title above -->

## Expected Behavior

<!--- (Optional) Tell us what should happen -->

## Current Behavior

<!--- (Optional) Tell us what happens instead of the expected behavior -->

## Possible Solution

<!--- (Optional) suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->

## Steps to Reproduce

<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->

1.
2.
3.
4.

## Context

<!--- (Optional) What are you trying to accomplish? -->
8 changes: 5 additions & 3 deletions .github/ISSUE_TEMPLATE/02_feature_request.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
name: "💡 Feature Request"
about: "Suggest an idea for this project"
name: '💡 Feature Request'
about: 'Suggest an idea for this project'
---

Type: Feature Request

- [ ] If you want to contribute to the project please review the [contributing guidelines](https://github.com/Flood-UI/flood/blob/master/.github/CONTRIBUTING.md).

## Summary
<!--- Provide a general summary of the feature in the Title above -->

<!--- Provide a general summary of the feature in the Title above -->

## Idea of implementation

<!--- Suggest ideas how to implement the addition or change -->
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/03_security_vulnerability.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: "🔒 Security Vulnerability"
about: "Report a security vulnerability in flood"
name: '🔒 Security Vulnerability'
about: 'Report a security vulnerability in flood'
---

PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, SEE BELOW.

If you discover a security vulnerability within flood, please send an e-mail to jfurrow ([email protected]) or noraj ([email protected]).
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/04_documentation_issue.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
name: "📚 Documentation Issue"
name: '📚 Documentation Issue'
about: 'Report an issue or missing part in the documentation'
---

Type: Documentation Issue

## Summary

<!--- Provide a general summary of the issue in the Title above -->
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/05_question.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: "❓ Question"
about: "Ask your questions here"
name: '❓ Question'
about: 'Ask your questions here'
---

Type: Question

## Question
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/06_discussion.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: "🎙️ Discussion"
about: "Start a discussion here"
name: '🎙️ Discussion'
about: 'Start a discussion here'
---

Type: Discussion

## Discussion
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/07_support.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: "🆘 Support"
about: "Ask for help on Discord"
name: '🆘 Support'
about: 'Ask for help on Discord'
---

If you need support, ask on Discord https://discord.gg/Z7yR5Uf
8 changes: 8 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue

<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
Expand Down
24 changes: 12 additions & 12 deletions .github/labels/labels.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Labels

Category | Label(s) | Color(s)
--- | --- | ---
Platform | ![](bsd.png) ![](docker.png) ![](linux.png) ![](macOS.png) ![](windows.png) | #BFD4F2
Problems | ![](bug.png) ![](security.png) | #EE3F46
Severity | ![](critical.png) | #B60205
Type | ![](code.png) ![](design.png) ![](documentation.png) ![](test.png) | #FFC274
Feedback | ![](discussion.png) ![](question.png) | #CC317C
Improvements | ![](enhancement.png) ![](optimization.png) ![](performance.png) | #5EBEFF
Help | ![](help%20wanted.png) | #76C3A9
Additions | ![](feature.png) | #90C954
Pending | ![](can't%20reproduce.png) ![](in%20progress.png) ![](more%20info%20needed.png) ![](waiting%20feedback.png) ![](watchlist.png) | #FBCA04
Inactive | ![](duplicate.png) ![](invalid.png) ![](not%20a%20bug.png) ![](on%20hold.png) ![](wontfix.png) | #D2DAE1
| Category | Label(s) | Color(s) |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------ | -------- |
| Platform | ![](bsd.png) ![](docker.png) ![](linux.png) ![](macOS.png) ![](windows.png) | #BFD4F2 |
| Problems | ![](bug.png) ![](security.png) | #EE3F46 |
| Severity | ![](critical.png) | #B60205 |
| Type | ![](code.png) ![](design.png) ![](documentation.png) ![](test.png) | #FFC274 |
| Feedback | ![](discussion.png) ![](question.png) | #CC317C |
| Improvements | ![](enhancement.png) ![](optimization.png) ![](performance.png) | #5EBEFF |
| Help | ![](help%20wanted.png) | #76C3A9 |
| Additions | ![](feature.png) | #90C954 |
| Pending | ![](can't%20reproduce.png) ![](in%20progress.png) ![](more%20info%20needed.png) ![](waiting%20feedback.png) ![](watchlist.png) | #FBCA04 |
| Inactive | ![](duplicate.png) ![](invalid.png) ![](not%20a%20bug.png) ![](on%20hold.png) ![](wontfix.png) | #D2DAE1 |

Note: in order to take a sharp screenshot of labels with Firefox: Right click the label => Inspect element => Right click the element on the inspector => Screenshot Node
25 changes: 0 additions & 25 deletions .jsdoc.json

This file was deleted.

Loading

0 comments on commit 1a878d5

Please sign in to comment.