forked from phntxx/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
phntxx
committed
Jun 14, 2021
1 parent
753a55c
commit 24e61ef
Showing
30 changed files
with
2,116 additions
and
1,764 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,57 @@ | ||
version: 2.1 | ||
|
||
commands: | ||
install_dependencies: | ||
description: "Installs dependencies and uses CircleCI's cache" | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- dependencies-{{ checksum "yarn.lock" }} | ||
- dependencies- | ||
- run: | ||
command: | | ||
yarn install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: dependencies-{{ checksum "yarn.lock" }} | ||
|
||
jobs: | ||
style: | ||
docker: | ||
- image: node:latest | ||
steps: | ||
- install_dependencies | ||
- run: | ||
name: prettier | ||
command: | | ||
yarn prettier --check | ||
- run: | ||
name: lint | ||
command: | | ||
yarn lint | ||
frontend: | ||
docker: | ||
- image: node:latest | ||
steps: | ||
- install_dependencies | ||
- run: | ||
name: typecheck | ||
command: | | ||
yarn typecheck | ||
- run: | ||
name: test | ||
command: | | ||
yarn test | ||
- run: | ||
name: coverage | ||
command: | | ||
yarn coverage | ||
workflows: | ||
version: 2 | ||
tilt: | ||
jobs: | ||
- style |
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,34 @@ | ||
module.exports = { | ||
extends: ["eslint:recommended", "plugin:react-hooks/recommended"], | ||
rules: { | ||
orderedImports: true, | ||
completedDocs: [ | ||
true, | ||
{ | ||
enums: true, | ||
functions: { | ||
visibilities: ["exported"], | ||
}, | ||
interfaces: { | ||
visibilities: ["exported"], | ||
}, | ||
methods: { | ||
tags: { | ||
content: {}, | ||
existence: ["inheritdoc", "override"], | ||
}, | ||
}, | ||
types: { | ||
visibilities: ["exported"], | ||
}, | ||
variables: { | ||
visibilities: ["exported"], | ||
}, | ||
}, | ||
], | ||
maxClassesPerFile: false, | ||
maxLineLength: false, | ||
memberOrdering: false, | ||
variableName: false, | ||
}, | ||
}; |
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
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,21 @@ | ||
module.exports = { | ||
bracketSpacing: true, | ||
printWidth: 80, | ||
parser: "typescript", | ||
trailingComma: "all", | ||
arrowParens: "always", | ||
overrides: [ | ||
{ | ||
files: "README.md", | ||
options: { | ||
parser: "markdown", | ||
}, | ||
}, | ||
{ | ||
files: "*.json", | ||
options: { | ||
parser: "json", | ||
} | ||
} | ||
], | ||
}; |
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 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: off | ||
dashboard: | ||
target: 80% | ||
flags: dashboard | ||
|
||
flags: | ||
dashboard: | ||
paths: | ||
- src/ | ||
- data/ | ||
|
||
ignore: | ||
- node_modules |
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.