Skip to content

Commit c60a0cc

Browse files
committed
first commit, very rough
0 parents  commit c60a0cc

File tree

126 files changed

+41324
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+41324
-0
lines changed

.browserslistrc

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR
17+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.eslintrc.json

+221
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"dist/**/*",
5+
"release/**/*",
6+
"www/**/*"
7+
],
8+
"overrides": [
9+
{
10+
"files": [
11+
"*.ts"
12+
],
13+
"parserOptions": {
14+
"project": [
15+
"./tsconfig.app.json"
16+
],
17+
"createDefaultProgram": true
18+
},
19+
"extends": [
20+
"plugin:@angular-eslint/ng-cli-compat",
21+
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
22+
"plugin:@angular-eslint/template/process-inline-templates"
23+
],
24+
"plugins": [
25+
"unused-imports"
26+
],
27+
"rules": {
28+
"unused-imports/no-unused-imports": "error",
29+
"prefer-arrow/prefer-arrow-functions": 0,
30+
"object-curly-spacing": ["error", "always"],
31+
"curly": ["error", "all"],
32+
"nonblock-statement-body-position": ["error", "below"],
33+
"no-multiple-empty-lines": ["error"],
34+
"brace-style": ["error", "1tbs"],
35+
"@angular-eslint/component-class-suffix": ["error", {
36+
"suffixes": ["Component", "Page", "Dialog"]
37+
}],
38+
"@angular-eslint/directive-selector": 0,
39+
"@angular-eslint/component-selector": [
40+
"error",
41+
{
42+
"type": "element",
43+
"prefix": "app",
44+
"style": "kebab-case"
45+
}
46+
],
47+
"@typescript-eslint/adjacent-overload-signatures": "error",
48+
"@typescript-eslint/array-type": "off",
49+
"@typescript-eslint/ban-types": [
50+
"error",
51+
{
52+
"types": {
53+
"Object": {
54+
"message": "Avoid using the `Object` type. Did you mean `object`?"
55+
},
56+
"Function": {
57+
"message": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
58+
},
59+
"Boolean": {
60+
"message": "Avoid using the `Boolean` type. Did you mean `boolean`?"
61+
},
62+
"Number": {
63+
"message": "Avoid using the `Number` type. Did you mean `number`?"
64+
},
65+
"String": {
66+
"message": "Avoid using the `String` type. Did you mean `string`?"
67+
},
68+
"Symbol": {
69+
"message": "Avoid using the `Symbol` type. Did you mean `symbol`?"
70+
}
71+
}
72+
}
73+
],
74+
"indent": "off",
75+
"@typescript-eslint/indent": [
76+
"error",
77+
2,
78+
{
79+
"FunctionDeclaration": {
80+
"parameters": "first"
81+
},
82+
"FunctionExpression": {
83+
"parameters": "first"
84+
}
85+
}
86+
],
87+
"@typescript-eslint/no-unused-expressions": "error",
88+
"@typescript-eslint/no-use-before-define": "error",
89+
"@typescript-eslint/prefer-function-type": "error",
90+
"@typescript-eslint/prefer-namespace-keyword": "error",
91+
"@typescript-eslint/quotes": [
92+
"error",
93+
"single"
94+
],
95+
"@typescript-eslint/member-delimiter-style": [
96+
"error",
97+
{
98+
"multiline": {
99+
"delimiter": "semi",
100+
"requireLast": true
101+
},
102+
"singleline": {
103+
"delimiter": "semi",
104+
"requireLast": false
105+
}
106+
}
107+
],
108+
"@typescript-eslint/type-annotation-spacing": "error",
109+
"@typescript-eslint/unified-signatures": "error",
110+
"@typescript-eslint/consistent-type-assertions": "error",
111+
"@typescript-eslint/consistent-type-definitions": "error",
112+
"@typescript-eslint/dot-notation": "error",
113+
"@typescript-eslint/explicit-member-accessibility": [
114+
"off",
115+
{
116+
"accessibility": "explicit"
117+
}
118+
],
119+
"@typescript-eslint/semi": 2,
120+
"@typescript-eslint/naming-convention": [
121+
"error",
122+
{
123+
"selector": "default",
124+
"format": [
125+
"camelCase"
126+
]
127+
},
128+
{
129+
"selector": "enumMember",
130+
"format": [
131+
"PascalCase"
132+
]
133+
},
134+
{
135+
"selector": "typeLike",
136+
"format": [
137+
"PascalCase"
138+
]
139+
}
140+
],
141+
"@typescript-eslint/member-ordering": ["error", {
142+
"default": [
143+
"field",
144+
"signature",
145+
"constructor",
146+
"method"
147+
]
148+
}],
149+
150+
"no-console": [
151+
"error",
152+
{
153+
"allow": [
154+
"log",
155+
"info",
156+
"warn",
157+
"dir",
158+
"timeLog",
159+
"assert",
160+
"clear",
161+
"count",
162+
"countReset",
163+
"group",
164+
"groupEnd",
165+
"table",
166+
"dirxml",
167+
"error",
168+
"groupCollapsed",
169+
"Console",
170+
"profile",
171+
"profileEnd",
172+
"timeStamp",
173+
"context"
174+
]
175+
}
176+
],
177+
"new-parens": "error",
178+
"no-bitwise": "error",
179+
"no-caller": "error",
180+
"no-cond-assign": "error",
181+
"no-debugger": "error",
182+
"no-eval": "error",
183+
"no-fallthrough": "error",
184+
"no-throw-literal": "error",
185+
"no-trailing-spaces": "error",
186+
"no-undef-init": "error",
187+
"no-underscore-dangle": "off",
188+
"no-unsafe-finally": "error",
189+
"no-unused-labels": "error",
190+
"no-var": "error",
191+
"object-shorthand": "error",
192+
"radix": "error",
193+
"prefer-const": "error",
194+
"quote-props": [
195+
"error",
196+
"as-needed"
197+
],
198+
"space-before-function-paren": [
199+
"error",
200+
{
201+
"anonymous": "never",
202+
"asyncArrow": "always",
203+
"named": "never"
204+
}
205+
],
206+
"use-isnan": "error",
207+
"yoda": "error"
208+
}
209+
},
210+
{
211+
"files": [
212+
"*.html"
213+
],
214+
"extends": [
215+
"plugin:@angular-eslint/template/recommended"
216+
],
217+
"rules": {
218+
}
219+
}
220+
]
221+
}

.github/ISSUE_TEMPLATE/bug_report.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Bug Report
2+
description: File a bug report for unexpected or broken behavior
3+
title: "[Bug] -"
4+
labels: [bug]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Prerequisites
9+
description: Please answer the following questions for yourself before submitting an issue.
10+
options:
11+
- label: I have searched the issue tracker to check if the issue has already been reported.
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: Describe the bug
17+
description: A clear and concise description of what the bug is.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
attributes:
23+
label: Expected behavior
24+
description: A clear and concise description of what you expected to happen.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
attributes:
30+
label: Current behavior
31+
description: A clear and concise description of what actually happened.
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
attributes:
37+
label: To Reproduce
38+
description: |
39+
Steps to reproduce the behaviour:
40+
- When on x page
41+
- Given x button is pressed
42+
- Then error x should be present
43+
validations:
44+
required: true
45+
46+
- type: dropdown
47+
attributes:
48+
label: Platform
49+
options:
50+
- Desktop
51+
- Web Browser - Chrome
52+
- Web Browser - Firefox
53+
- Web Browser - Safari
54+
- Web Browser - Edge
55+
- Other
56+
validations:
57+
required: true
58+
59+
- type: textarea
60+
attributes:
61+
label: Additional Context
62+
description: |
63+
Links? References? Screenshots? Anything that will give us more context about the issue you are encountering
64+
65+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
66+
validations:
67+
required: false
+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
title: "[Feature] - "
4+
labels: [enhancement]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Prerequisites
9+
description: Please answer the following questions for yourself before submitting an issue.
10+
options:
11+
- label: I have searched the issue tracker to check if the issue has already been reported.
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: Describe the feature and its requirements
17+
description: A clear and concise description of the feature and its requirements. Include all technical notes and finer details, not just an overview.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
attributes:
23+
label: Is your feature request related to an existing issue? Please describe.
24+
description: A clear and concise description of why it related to these issues.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
attributes:
30+
label: Is there anything stopping this feature being completed?
31+
description: A list of any potential blockers for this feature with linked issues.
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
attributes:
37+
label: Describe alternatives you've considered or encountered
38+
description: A clear and concise description of any alternative solutions or features you've considered.
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
attributes:
44+
label: Additional context
45+
description: Add any other context or screenshots about the feature request here.
46+
validations:
47+
required: false

.github/pull_request_template.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Description
2+
3+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4+
5+
Fixes # (issue)
6+
7+
## Type of change
8+
9+
Please delete options that are not relevant.
10+
11+
- [ ] Bug fix (non-breaking change which fixes an issue)
12+
- [ ] New feature (non-breaking change which adds functionality)
13+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+
- [ ] This change requires a documentation update
15+
16+
# Checklist:
17+
18+
- [ ] I have performed a self-review of my own code
19+
- [ ] I have made corresponding changes to the documentation
20+
- [ ] My changes generate no new warnings
21+
- [ ] I have run tests (npm run test & npm run e2e) that prove my fix is effective or that my feature works

0 commit comments

Comments
 (0)