Skip to content

Commit 0df8e83

Browse files
authored
Merge pull request #49 from oslabs-beta/dev
Merging work to main after MVP
2 parents 32c7e66 + 1b0ac1b commit 0df8e83

29 files changed

+16061
-2
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }], "@babel/preset-typescript"],
3+
}

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.eslintrc.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es2021": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"airbnb-base",
10+
"airbnb-typescript/base",
11+
"plugin:@typescript-eslint/recommended",
12+
"plugin:import/typescript",
13+
"prettier"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"parserOptions": {
17+
"ecmaVersion": "latest",
18+
"project": "./tsconfig.json"
19+
},
20+
"plugins": ["import", "prettier"],
21+
"rules": {
22+
"no-plusplus": [2, {
23+
"allowForLoopAfterthoughts": true
24+
}],
25+
"prettier/prettier": [
26+
"error"
27+
]
28+
},
29+
"ignorePatterns": ["jest.*", "build/*"]
30+
}

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
### Summary
2+
_Provide a short summary of the changes in this PR_
3+
4+
### Type of Change
5+
Please delete options that are not relevant.
6+
7+
- [ ] Bug fix (non-breaking change which fixes an issue)
8+
- [ ] New feature (non-breaking change which adds functionality)
9+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
10+
- [ ] This change requires a documentation update
11+
12+
### Issues
13+
- Link any issues this PR resolves using keywords (resolve, closes, fixed)
14+
15+
### Evidence
16+
- Provide evidence of the the changes functioning as expected or describe your tests. If tests are included in the CI pipeline this may be omitted.
17+
18+
19+
_(delete this line)_ Prior to submitting the PR assign a reviewer from each team to review this PR.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
106+
build/*

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
# Runs all code quality tools prior to each commit.
5+
npx lint-staged

.prettierignore

Whitespace-only changes.

.prettierrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 4,
4+
"semi": true,
5+
"singleQuote": true,
6+
"printWidth": 100,
7+
"bracketSpacing": true,
8+
"arrowParens": "always",
9+
"proseWrap": "never"
10+
}

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- 16
4+
branches:
5+
only:
6+
- dev
7+
script:
8+
- 'npm run lint'
9+
- 'npm run test'

0 commit comments

Comments
 (0)