Skip to content

Commit 5d4540b

Browse files
committed
chore: initial commit
0 parents  commit 5d4540b

38 files changed

+12823
-0
lines changed

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# ESLint Ignore
2+
# https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories
3+
4+
**/node_modules/**
5+
**/dist/**

.eslintrc.js

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
/**
2+
* @file ESLint Configuration
3+
* @see https://eslint.org/docs/user-guide/configuring
4+
*/
5+
6+
const EXTENDS_CONFIG = [
7+
'eslint:recommended',
8+
'plugin:@typescript-eslint/eslint-recommended',
9+
'plugin:@typescript-eslint/recommended',
10+
'plugin:prettier/recommended',
11+
'prettier/@typescript-eslint'
12+
]
13+
14+
module.exports = {
15+
env: {
16+
browser: true,
17+
es6: true,
18+
node: true
19+
},
20+
extends: EXTENDS_CONFIG,
21+
globals: {},
22+
parser: '@typescript-eslint/parser',
23+
parserOptions: {
24+
ecmaFeatures: {
25+
impliedStrict: true,
26+
jsx: false
27+
},
28+
ecmaVersion: 2020,
29+
project: ['./tsconfig.json', './packages/**/tsconfig.json'],
30+
sourceType: 'module'
31+
},
32+
plugins: ['tree-shaking'],
33+
rules: {
34+
'@typescript-eslint/ban-ts-ignore': 0,
35+
'@typescript-eslint/ban-types': 1,
36+
'@typescript-eslint/camelcase': 0,
37+
'@typescript-eslint/explicit-function-return-type': 0,
38+
'@typescript-eslint/member-delimiter-style': [
39+
2,
40+
{
41+
multiline: {
42+
delimiter: 'none',
43+
requireLast: false
44+
}
45+
}
46+
],
47+
'@typescript-eslint/no-explicit-any': 1,
48+
'@typescript-eslint/no-namespace': 0,
49+
'@typescript-eslint/no-use-before-define': 0,
50+
'@typescript-eslint/no-useless-constructor': 1,
51+
eqeqeq: 1,
52+
'no-ex-assign': 0,
53+
'prefer-arrow-callback': 2,
54+
'prettier/prettier': [
55+
2,
56+
{
57+
usePrettierrc: true
58+
}
59+
],
60+
'sort-keys': [
61+
1,
62+
'asc',
63+
{
64+
caseSensitive: true,
65+
minKeys: 2,
66+
natural: true
67+
}
68+
],
69+
'space-before-function-paren': [
70+
2,
71+
{
72+
anonymous: 'never',
73+
asyncArrow: 'always',
74+
named: 'never'
75+
}
76+
]
77+
},
78+
overrides: [
79+
{
80+
files: ['**/__tests__/**', '*.spec.ts', '*.spec.tsx'],
81+
env: {
82+
es6: true,
83+
'jest/globals': true,
84+
node: true
85+
},
86+
extends: EXTENDS_CONFIG.splice(1, 0, 'plugin:jest/recommended'),
87+
rules: {}
88+
},
89+
{
90+
files: ['**/*.js'],
91+
parser: 'babel-eslint',
92+
rules: {
93+
'@typescript-eslint/explicit-module-boundary-types': 0,
94+
'@typescript-eslint/no-var-requires': 0,
95+
'require-jsdoc': 1,
96+
'valid-jsdoc': 2
97+
}
98+
},
99+
{
100+
files: ['**/.eslintrc.js'],
101+
rules: {
102+
'sort-keys': 0
103+
}
104+
},
105+
{
106+
files: ['**/*.d.ts'],
107+
rules: {
108+
'prettier/prettier': 0
109+
}
110+
}
111+
],
112+
settings: {}
113+
}

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: Bug report
3+
about: Spot an error? Create a bug report
4+
title: 'BUG: '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the error is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to "..."
16+
2. Click on "...."
17+
3. Scroll down to "...."
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Platform Details**
27+
Where is this bug occurring? Provide details about the environment.
28+
29+
Desktop (please complete the following information):
30+
31+
- OS: `<[e.g. macOS]>`
32+
- Browser: `<[e.g. chrome, safari]>`
33+
- Version: `<[e.g. 22]>`
34+
35+
Smartphone (please complete the following information):
36+
37+
- Device: `<[e.g. iPhone6]>`
38+
- OS: `<[e.g. iOS8.1]>`
39+
- Browser: `<[e.g. stock browser, safari]>`
40+
- Version: `<[e.g. 22]>`
41+
42+
**Additional context**
43+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Github Issue Template Configuration
2+
3+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/epic.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Epic
3+
about: Document an overarching initiative
4+
title: 'EPIC: '
5+
labels: epic
6+
assignees: ''
7+
---
8+
9+
**Description**
10+
Brief summary of what this Epic is, whether it's a larger project, goal, or user
11+
story. Describe the job to be done, which persona this Epic is mainly for, or if
12+
more multiple, break it down by user and job story.
13+
14+
**Initiative / Goal**
15+
How does this Epic impact an initiative the client is working on?
16+
17+
**Goals**
18+
How will we evaluate success for the proposed changes?
19+
20+
- ...
21+
22+
**Success criteria**
23+
How the product should work for each user type.
24+
25+
- [ ] ...
26+
27+
**Stakeholders**
28+
Who needs to be kept up-to-date about this Epic, included in discussions, or
29+
updated along the way?
30+
31+
**Timeline**
32+
What's the timeline for this Epic, what resources are needed, and what might
33+
potentially block this from hitting the projected end date?

.github/ISSUE_TEMPLATE/task.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Task
3+
about: What needs to be done?
4+
title: ''
5+
labels: task
6+
assignees: ''
7+
---
8+
9+
**Problem statement**
10+
Describe the problem you're trying to solve by doing this work.
11+
12+
**Proposed work**
13+
High-level overview of what we're building and why we think it will solve the
14+
problem.
15+
16+
**Success criteria**
17+
The criteria that must be met in order to consider this task a success.
18+
19+
- [ ] ...
20+
21+
**User stories**
22+
How the product should work for various user types.
23+
24+
User type 1 - User A
25+
26+
- ...
27+
28+
User type 2 - User B
29+
30+
- ...
31+
32+
**Designs**
33+
Include designs here.
34+
35+
**Alternatives considered**
36+
List any alternatives you considered to this approach. Explain why they weren't
37+
used.
38+
39+
**Related documents** Include links to other pages as necessary (e.g. technical
40+
spec, project proposal, docs, etc.)

0 commit comments

Comments
 (0)