chore: Update boilerplate data

This commit is contained in:
2025-03-05 22:40:16 +01:00
parent fb12047b1b
commit 8449fed222
13 changed files with 39 additions and 178 deletions

View File

@@ -1,66 +0,0 @@
{
"env": {
"es6": true,
"amd": true,
"jest": 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
View File

@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

2
.github/CODEOWNERS vendored
View File

@@ -1 +1 @@
* @Wessel
* @wessel

View File

@@ -1,49 +1,24 @@
# Contributing
<!---
Used linters:
[ESLint](https://eslint.org/)
[EditorConfig](https://editorconfig.org)
--->
If you wish to contribute to portfolio, feel free to fork the repository and submit a pull request.
eslint is enforced to correct most typo's you make and keep the code style the same throughout the whole project,
so it would be much appreciated if you installed eslint to your editor of choice
If you wish to contribute to Portfolio, feel free to fork the repository and submit a pull request.
[EditorConfig](https://editorconfig.org) is enforced to correct most typo's you make and keep the code style the same throughout the whole project,
so it would be much appreciated if you installed [EditorConfig](https://editorconfig.org) to your editor of choice
<!---
Prerequisites for Node.JS:
* [Node.JS V18.14.0](https://nodejs.org/en/)
* [Docker](https://www.docker.com)
* [ESLint](https://eslint.org)
* [(OPTIONAL) Yarn](https://yarnpkg.com)
--->
## Prerequisites
The following prerequisites must be met before installing Portfolio:
* [Sass](https://sass-lang.com)
The following prerequisites must be met before installing portfolio:
SCSS
<!---
Install commands:
JavaScript/TypeScript: `yarn --dev` or `npm install --dev`
Rust: `cargo run`
C: `make clean install`
Run commands:
JavaScript/TypeScript: `yarn test` or `npm run test`
Rust: `cargo run`
C: `make clean dev`
--->
## Setup
To get ready to work on the codebase, please do the following:
1. Fork & clone the repository, and make sure you are on the **master** branch
2. Run sass --watch --style compressed main.css:../css/main.css
3. Code your ideas and test them
4. [Submit a pull request](https://github.com/Wessel/Portfolio/compare)
2. Run
3. Code your ideas and test them using
4. [Submit a pull request](https://github.com/wessel/portfolio/compare)
## Testing
When creating any new functions, please also create unit tests for them in the `tests` directory.
Use the library associated with the project when creating such tests.
When modifying existing functions, make sure to test them before making a pull request, this will prevent
anything from breaking on the production environment.
anything from breaking on the production environment.

4
.github/FUNDING.yml vendored
View File

@@ -1,2 +1,2 @@
github: wessel
ko_fi: wessel
{github: wessel, ko_fi: wesselgame}

View File

@@ -1,22 +1,13 @@
# Adapted from https://github.com/discordjs/discord.js/blob/main/.github/ISSUE_TEMPLATE/bug_report.yml
name: Bug report
description: Report incorrect or unexpected behavior of a package
labels: [bug, need repro]
body:
# - type: markdown
# attributes:
# value: |
# Use Discord for questions: https://discord.gg/djs
- type: dropdown
id: package
attributes:
label: Which part is this bug report for?
options:
- v1
- v2
- v3
- v4
- v5
options: [styling, javascript, html]
validations:
required: true
- type: textarea
@@ -36,7 +27,7 @@ body:
attributes:
label: Code sample
description: Include a reproducible, minimal code sample. This will be automatically formatted into code, so no need for backticks.
render: Sass
render: javascript
placeholder: |
Your code sample should be...
... Minimal - Use as little code as possible that still produces the same problem (and is understandable)
@@ -52,9 +43,9 @@ body:
- type: input
id: lang-version
attributes:
label: Sass version
label: 'javascript version'
description: |
Which version of Sass are you using?
Which version of javascript are you using?
validations:
required: true
- type: input
@@ -79,4 +70,4 @@ body:
label: I have tested this issue on a development release
placeholder: d23280c (commit hash)
description: |
The issue might already be fixed in a development release or main. This is not required, but helps us greatly.
The issue might already be fixed in a development release or main. This is not required, but helps us greatly.

View File

@@ -1,12 +1,6 @@
blank_issues_enabled: false
# Example entry:
# name:
# url:
# about:
contact_links:
- name: website
url: https://wessel.gg
about: My currently running portfolio
- name: email
url: contact@wessel.gg
about: Feel free to email for any enquiries
- about: E-mail
name: email
url: contact@wessel.gg

View File

@@ -1,4 +1,3 @@
# Adapted from https://github.com/discordjs/discord.js/blob/main/.github/ISSUE_TEMPLATE/feature_request.yml
name: Feature request
description: Request a new feature
labels: [feature request]
@@ -11,12 +10,8 @@ body:
id: package
attributes:
label: Which part is this feature request for?
options:
- v1
- v2
- v3
- v4
- v5
options: [styling, javascript, html]
validations:
required: false
- type: textarea
@@ -43,4 +38,4 @@ body:
id: additional-context
attributes:
label: Other context
description: Any other context, screenshots, or file uploads that help us understand your feature request.
description: Any other context, screenshots, or file uploads that help us understand your feature request.

View File

@@ -1,10 +1,8 @@
---
name: Pull Request
about: Propose changes to Portfolio
about: Propose changes to portfolio
title: "[PR] Your changes"
labels: pullrequest
assignees: Wessel
---
**Please describe the changes this PR makes and why it should be merged:**
@@ -14,6 +12,6 @@ assignees: Wessel
- [ ] Code changes have been tested and there aren't any typos in it
**Semantic versioning classification:**
- [ ] This PR changes Portfolio core codebase (methods or parameters added)
- [ ] This PR changes portfolio 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.

View File

@@ -1,5 +1,5 @@
addReviewers: true
reviewers:
- Wessel
reviewers: [wessel]
numberOfReviewers: 0
runOnDraft: true
runOnDraft: true

7
.gitignore vendored
View File

@@ -1,10 +1,9 @@
!.gitkeep
tmp/
src/tmp
node_modules/
obj/
out/
!.gitkeep
out/

View File

@@ -1,7 +1,7 @@
The MIT License (MIT)
Copyright (c) 2023 Wessel T <discord@go2it.eu> (https://wessel.gg/)
Copyright (c) 2025 Wessel T <contact@wessel.gg> (https://wessel.gg)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,39 +1,12 @@
<!---
To update:
project.
master - The master org or user of the repo
linter - The linter used for the project
name - Project name
lang - The (primary) programming language used
logo - Project logo
contact - All ways to contact for any inqueries
reviewers - A list of users to auto-assign to issues and features
info.
toc - Table of Contents of README
desc - Small project description
badges - Any extra badges
setup.
prerequisites - The prerequisites needed to run the project
install - Command for initial installation
test - Command for running tests
tree.
parts - All individual parts of the project
--->
<img src="https://wessel.gg/static/img/logo.svg" align="left" width="192px" height="192px"/>
<img src="https://wessel.gg/static/img/logo-gradient.svg" align="left" width="192px" height="192px"/>
<img align="left" width="0" height="192px" hspace="10"/>
> Portfolio
> portfolio
[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE)
My current (and previous versions of) portfolio, which can be found on https://wessel.gg/
My current portfolio site, which can be seen at https://wessel.gg/
<br><br>
<!---
Example table of contents:
* header
* sub header
--->
## Table of contents