Skip to content

Commit df94ce4

Browse files
committed
chore: initial commit
0 parents  commit df94ce4

21 files changed

+8181
-0
lines changed

.commitlintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": ["@commitlint/config-angular"],
3+
"rules": {
4+
"type-enum": [
5+
2,
6+
"always",
7+
["chore", "build", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test", "types", "typings"]
8+
],
9+
"scope-case": [0]
10+
}
11+
}

.eslintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"root": true,
3+
"extends": ["marine/prettier/node"],
4+
"parserOptions": {
5+
"project": "./tsconfig.eslint.json"
6+
},
7+
"env": {
8+
"jest": true
9+
},
10+
"rules": {
11+
"@typescript-eslint/ban-types": "off",
12+
"curly": ["error", "all"],
13+
"no-eq-null": "off"
14+
}
15+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Quality Check
2+
on: [push, pull_request]
3+
jobs:
4+
quality:
5+
name: Quality Check
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v2
10+
11+
- name: Install Node.js v16
12+
uses: actions/setup-node@v2
13+
with:
14+
node-version: 16
15+
cache: 'yarn'
16+
cache-dependency-path: yarn.lock
17+
18+
- name: Install dependencies
19+
run: yarn --immutable
20+
21+
- name: ESLint
22+
run: yarn lint
23+
24+
- name: Build
25+
run: yarn build
26+
27+
- name: Tests
28+
run: yarn test

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
3+
.yarn/*
4+
!.yarn/patches
5+
!.yarn/plugins
6+
!.yarn/releases
7+
!.yarn/sdks
8+
!.yarn/versions
9+
.pnp.*

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn format

.prettierrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 120,
3+
"useTabs": true,
4+
"singleQuote": true,
5+
"quoteProps": "as-needed",
6+
"trailingComma": "all",
7+
"endOfLine": "lf"
8+
}

.yarn/releases/yarn-3.2.1.cjs

Lines changed: 786 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodeLinker: node-modules
2+
yarnPath: .yarn/releases/yarn-3.2.1.cjs

0 commit comments

Comments
 (0)