-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Angelo Ashmore <[email protected]> Co-authored-by: Nick DeJesus <[email protected]> Co-authored-by: lihbr <[email protected]>
- Loading branch information
1 parent
25f2d4f
commit 408df03
Showing
100 changed files
with
27,658 additions
and
8,806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# .gitignore copy | ||
|
||
# custom | ||
dist | ||
examples/**/package-lock.json | ||
|
||
# os | ||
.DS_Store | ||
._* | ||
|
||
# node | ||
logs | ||
*.log | ||
node_modules | ||
|
||
# yarn | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.yarn-integrity | ||
yarn.lock | ||
|
||
# npm | ||
npm-debug.log* | ||
|
||
# tests | ||
coverage | ||
.eslintcache | ||
.nyc_output | ||
|
||
# .env | ||
.env | ||
.env.test | ||
.env*.local | ||
|
||
# vscode | ||
.vscode/* | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
*.code-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true, | ||
}, | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
ecmaVersion: 2020, | ||
}, | ||
settings: { | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
extends: [ | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
], | ||
plugins: ["eslint-plugin-tsdoc"], | ||
rules: { | ||
"no-console": ["warn", { allow: ["info", "warn", "error"] }], | ||
"no-debugger": "warn", | ||
"no-undef": "off", | ||
curly: "error", | ||
"prefer-const": "error", | ||
"padding-line-between-statements": [ | ||
"error", | ||
{ blankLine: "always", prev: "*", next: "return" }, | ||
], | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
argsIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
}, | ||
], | ||
"@typescript-eslint/no-var-requires": "off", | ||
"tsdoc/syntax": "warn", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# asserts everything is text | ||
* text eol=lf | ||
|
||
# treats lock files as binaries to prevent merge headache | ||
package-lock.json -diff | ||
yarn.lock -diff | ||
|
||
# treats assets as binaries | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.ico binary |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
ci: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [14] | ||
|
||
steps: | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }} | ||
|
||
- name: Install dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
- name: Unit | ||
run: npm run unit | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Coverage | ||
uses: codecov/codecov-action@v1 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.