Skip to content

Commit f80dc98

Browse files
authored
refactor: Skia and dep-less support (#376)
1 parent 8b4157e commit f80dc98

40 files changed

+2032
-2796
lines changed

.all-contributorsrc

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
2-
"projectName": "canvas-constructor",
3-
"projectOwner": "kyranet",
4-
"repoType": "github",
5-
"repoHost": "https://github.com",
6-
"files": [
7-
"README.md"
8-
],
9-
"imageSize": 100,
10-
"commit": true,
11-
"commitConvention": "angular",
12-
"contributors": [],
13-
"contributorsPerLine": 7
2+
"projectName": "canvas-constructor",
3+
"projectOwner": "kyranet",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": ["README.md"],
7+
"imageSize": 100,
8+
"commit": true,
9+
"commitConvention": "angular",
10+
"contributors": [],
11+
"contributorsPerLine": 7
1412
}

.eslintrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/src/ @kyranet
1+
* @kyranet

.github/CONTRIBUTING.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ in your text editor or IDE of your choice to ensure builds from GitHub Actions d
1313
5. Commit your changes, and push them.
1414
6. Submit a Pull Request [here]!
1515

16-
## Char Concept Guidelines
16+
## Canvas Constructor Concept Guidelines
1717

1818
There are a number of guidelines considered when reviewing Pull Requests to be merged. _This is by no means an exhaustive list, but here are some things to consider before/while submitting your ideas._
1919

20-
- Everything in Char should be generally useful for the majority of users. Don't let that stop you if you've got a good concept though, as your idea still might be a great addition.
21-
- Everything should follow [OOP paradigms] and generally rely on behaviour over state where possible. This generally helps methods be predictable, keeps the codebase simple and understandable, reduces code duplication through abstraction, and leads to efficiency and therefore scalability.
22-
- Everything should follow our ESLint rules as closely as possible, and should pass lint tests even if you must disable a rule for a single line.
23-
- Scripts that are to be ran outside of the scope of the bot should be added to [scripts] directory and should be in the `.mjs` file format.
20+
- Everything in Canvas Constructor should be generally useful for the majority of users. Don't let that stop you if you've got a good concept though, as your idea still might be a great addition.
21+
- Everything should follow [OOP paradigms] and generally rely on behaviour over state where possible. This generally helps methods be predictable, keeps the codebase simple and understandable, reduces code duplication through abstraction, and leads to efficiency and therefore scalability.
22+
- Everything should follow our ESLint rules as closely as possible, and should pass lint tests even if you must disable a rule for a single line.
23+
- Scripts that are to be ran outside of the scope of the bot should be added to [scripts] directory and should be in the `.mjs` file format.
2424

2525
<!-- Link Dump -->
2626

27-
[Discord Server]: https://discord.gg/taNgb9d
28-
[here]: https://github.com/kyranet/canvas-constructor/pulls
29-
[ESLint]: https://eslint.org/
30-
[OOP paradigms]: https://en.wikipedia.org/wiki/Object-oriented_programming
31-
[scripts]: /scripts
27+
[discord server]: https://discord.gg/taNgb9d
28+
[here]: https://github.com/kyranet/canvas-constructor/pulls
29+
[eslint]: https://eslint.org/
30+
[oop paradigms]: https://en.wikipedia.org/wiki/Object-oriented_programming
31+
[scripts]: /scripts

.github/husky/commit-msg

100755100644
File mode changed.

.github/husky/pre-commit

100755100644
File mode changed.

.github/labels.yml

Lines changed: 0 additions & 174 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "eslint-stylish",
5+
"pattern": [
6+
{
7+
"regexp": "^([^\\s].*)$",
8+
"file": 1
9+
},
10+
{
11+
"regexp": "^\\s+(\\d+):(\\d+)\\s+(error|warning|info)\\s+(.*)\\s\\s+(.*)$",
12+
"line": 1,
13+
"column": 2,
14+
"severity": 3,
15+
"message": 4,
16+
"code": 5,
17+
"loop": true
18+
}
19+
]
20+
}
21+
]
22+
}

.github/problemMatchers/tsc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "tsc",
5+
"pattern": [
6+
{
7+
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
8+
"file": 1,
9+
"location": 2,
10+
"severity": 3,
11+
"code": 4,
12+
"message": 5
13+
}
14+
]
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)