mirror of
https://github.com/Wessel/boilerplate.git
synced 2026-06-08 14:18:44 +02:00
Add most of my stuff
This commit is contained in:
8
.editorconfig
Normal file
8
.editorconfig
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
insert_final_newline = false
|
||||||
2
.eslintignore
Normal file
2
.eslintignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
dist/
|
||||||
65
.eslintrc
Normal file
65
.eslintrc
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"es6": true,
|
||||||
|
"amd": true,
|
||||||
|
"node": true,
|
||||||
|
"mongo": true,
|
||||||
|
"jquery": true,
|
||||||
|
"browser": true,
|
||||||
|
"commonjs": true
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 9,
|
||||||
|
"sourceType": "module",
|
||||||
|
"ecmaFeatures": {
|
||||||
|
"jsx": true,
|
||||||
|
"forOf": true,
|
||||||
|
"spread": true,
|
||||||
|
"modules": true,
|
||||||
|
"classes": true,
|
||||||
|
"generators": true,
|
||||||
|
"restParams": true,
|
||||||
|
"regexUFlag": true,
|
||||||
|
"regexYFlag": true,
|
||||||
|
"globalReturn": true,
|
||||||
|
"destructuring": true,
|
||||||
|
"impliedStrict": true,
|
||||||
|
"blockBindings": true,
|
||||||
|
"defaultParams": true,
|
||||||
|
"octalLiterals": true,
|
||||||
|
"arrowFunctions": true,
|
||||||
|
"binaryLiterals": true,
|
||||||
|
"templateStrings": true,
|
||||||
|
"superInFunctions": true,
|
||||||
|
"unicodeCodePointEscapes": true,
|
||||||
|
"experimentalObjectRestSpread": true,
|
||||||
|
"objectLiteralShorthandMethods": true,
|
||||||
|
"objectLiteralComputedProperties": true,
|
||||||
|
"objectLiteralDuplicateProperties": true,
|
||||||
|
"objectLiteralShorthandProperties": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"plugins": [],
|
||||||
|
"rules": {
|
||||||
|
"semi": "warn",
|
||||||
|
"indent": [ "off", "error" ],
|
||||||
|
"strict": "off",
|
||||||
|
"eqeqeq": "error",
|
||||||
|
"no-var": "warn",
|
||||||
|
"no-undef": "warn",
|
||||||
|
"valid-jsdoc": "warn",
|
||||||
|
"comma-dangle": "warn",
|
||||||
|
"no-dupe-args": "warn",
|
||||||
|
"no-dupe-keys": "warn",
|
||||||
|
"require-await": "warn",
|
||||||
|
"spaced-comment": "error",
|
||||||
|
"space-in-parens": "error",
|
||||||
|
"no-global-assign": "warn",
|
||||||
|
"no-duplicate-imports": "error",
|
||||||
|
"no-dupe-class-members": "error"
|
||||||
|
},
|
||||||
|
"globals": {
|
||||||
|
"_config": false,
|
||||||
|
"console": false
|
||||||
|
}
|
||||||
|
}
|
||||||
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
14
.github/CONTRIBUTING.md
vendored
Normal file
14
.github/CONTRIBUTING.md
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Contributing
|
||||||
|
|
||||||
|
**The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the [Discord](https://discord.gg/SV7DAE9) instead of opening an issue – you will get redirected there anyway.**
|
||||||
|
|
||||||
|
If you wish to contribute to $(PROJECT_NAME), feel free to fork the repository and submit a pull request.
|
||||||
|
[ESLint](https://eslint.org/) is used to correct most typo's you make, so it would be helpful if you added [ESLint](https://eslint.org/) to your editor of choice)
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
To get ready to work on the codebase, please do the following:
|
||||||
|
|
||||||
|
1. Fork & clone the repository, and make sure you're on the **master** branch
|
||||||
|
2. Run `yarn --dev` or `npm install --dev`
|
||||||
|
4. Code your heart out and test using `yarn test` or `npm run test`!
|
||||||
|
6. [Submit a pull request](https://github.com/PassTheWessel/$(PROJECT_NAME)/compare)
|
||||||
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
patreon: wessel
|
||||||
|
ko_fi: wessel
|
||||||
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
name: Bug Report
|
||||||
|
about: Report an issue with $(PROJECT_NAME)
|
||||||
|
title: "[BUG] Somenthing broke"
|
||||||
|
labels: bug
|
||||||
|
assignees: PassTheWessel
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Please describe the problem you are having in as much detail as possible:**
|
||||||
|
|
||||||
|
|
||||||
|
**Include a reproducible code sample here, if possible:**
|
||||||
|
```js
|
||||||
|
// Place your code here
|
||||||
|
```
|
||||||
|
|
||||||
|
**Further details:**
|
||||||
|
- Node.js version:
|
||||||
|
- Operating system:
|
||||||
|
|
||||||
|
<!--
|
||||||
|
If this applies to you, please check the respective checkbox: [ ] becomes [x].
|
||||||
|
-->
|
||||||
|
|
||||||
|
- [ ] I have also tested the issue on latest master, commit hash:
|
||||||
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Request a feature for $(PROJECT_NAME)
|
||||||
|
title: "[ENHANCEMENT] This is an amazing new idea!"
|
||||||
|
labels: enhancement
|
||||||
|
assignees: PassTheWessel
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
|
**Describe the ideal solution**
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context or screenshots about the feature request here.
|
||||||
19
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
19
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
name: Pull Request
|
||||||
|
about: Propose changes to $(PROJECT_NAME)
|
||||||
|
title: "[PR] This is an awesome idea i made!"
|
||||||
|
labels: pullrequest
|
||||||
|
assignees: PassTheWessel
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Please describe the changes this PR makes and why it should be merged:**
|
||||||
|
|
||||||
|
|
||||||
|
**Status**
|
||||||
|
- [ ] Code changes have been tested and there aren't any typos in it
|
||||||
|
|
||||||
|
**Semantic versioning classification:**
|
||||||
|
- [ ] This PR changes $(PROJECT_NAME) core codebase (methods or parameters added)
|
||||||
|
- [ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
|
||||||
|
- [ ] This PR **only** includes non-code changes, like changes to documentation, README, etc.
|
||||||
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
web/
|
||||||
|
src/tmp
|
||||||
|
node_modules/
|
||||||
|
src/application.yml
|
||||||
|
.vscode/
|
||||||
|
src/assets/util/
|
||||||
1
CODEOWNERS
Normal file
1
CODEOWNERS
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* @PassTheWessel
|
||||||
76
CODE_OF_CONDUCT.md
Normal file
76
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
# Contributor Covenant Code of Conduct
|
||||||
|
|
||||||
|
## Our Pledge
|
||||||
|
|
||||||
|
In the interest of fostering an open and welcoming environment, we as
|
||||||
|
contributors and maintainers pledge to making participation in our project and
|
||||||
|
our community a harassment-free experience for everyone, regardless of age, body
|
||||||
|
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||||
|
level of experience, education, socio-economic status, nationality, personal
|
||||||
|
appearance, race, religion, or sexual identity and orientation.
|
||||||
|
|
||||||
|
## Our Standards
|
||||||
|
|
||||||
|
Examples of behavior that contributes to creating a positive environment
|
||||||
|
include:
|
||||||
|
|
||||||
|
* Using welcoming and inclusive language
|
||||||
|
* Being respectful of differing viewpoints and experiences
|
||||||
|
* Gracefully accepting constructive criticism
|
||||||
|
* Focusing on what is best for the community
|
||||||
|
* Showing empathy towards other community members
|
||||||
|
|
||||||
|
Examples of unacceptable behavior by participants include:
|
||||||
|
|
||||||
|
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||||
|
advances
|
||||||
|
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||||
|
* Public or private harassment
|
||||||
|
* Publishing others' private information, such as a physical or electronic
|
||||||
|
address, without explicit permission
|
||||||
|
* Other conduct which could reasonably be considered inappropriate in a
|
||||||
|
professional setting
|
||||||
|
|
||||||
|
## Our Responsibilities
|
||||||
|
|
||||||
|
Project maintainers are responsible for clarifying the standards of acceptable
|
||||||
|
behavior and are expected to take appropriate and fair corrective action in
|
||||||
|
response to any instances of unacceptable behavior.
|
||||||
|
|
||||||
|
Project maintainers have the right and responsibility to remove, edit, or
|
||||||
|
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||||
|
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||||
|
permanently any contributor for other behaviors that they deem inappropriate,
|
||||||
|
threatening, offensive, or harmful.
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
This Code of Conduct applies both within project spaces and in public spaces
|
||||||
|
when an individual is representing the project or its community. Examples of
|
||||||
|
representing a project or community include using an official project e-mail
|
||||||
|
address, posting via an official social media account, or acting as an appointed
|
||||||
|
representative at an online or offline event. Representation of a project may be
|
||||||
|
further defined and clarified by project maintainers.
|
||||||
|
|
||||||
|
## Enforcement
|
||||||
|
|
||||||
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
|
reported by contacting the project team at discord@go2it.eu. All
|
||||||
|
complaints will be reviewed and investigated and will result in a response that
|
||||||
|
is deemed necessary and appropriate to the circumstances. The project team is
|
||||||
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||||
|
Further details of specific enforcement policies may be posted separately.
|
||||||
|
|
||||||
|
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||||
|
faith may face temporary or permanent repercussions as determined by other
|
||||||
|
members of the project's leadership.
|
||||||
|
|
||||||
|
## Attribution
|
||||||
|
|
||||||
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||||
|
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||||
|
|
||||||
|
[homepage]: https://www.contributor-covenant.org
|
||||||
|
|
||||||
|
For answers to common questions about this code of conduct, see
|
||||||
|
https://www.contributor-covenant.org/faq
|
||||||
Reference in New Issue
Block a user