Skip to content

Commit 025e2c5

Browse files
committed
chore: initial commit
0 parents  commit 025e2c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+13625
-0
lines changed

.eslintrc.cjs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
module.exports = {
2+
parserOptions: {
3+
ecmaVersion: 'latest',
4+
sourceType: 'module',
5+
project: ['./tsconfig.json', './tsconfig.node.json'],
6+
tsconfigRootDir: __dirname,
7+
},
8+
root: true,
9+
env: { browser: true, es2020: true },
10+
extends: [
11+
'eslint:recommended',
12+
'plugin:@typescript-eslint/strict-type-checked',
13+
'plugin:@typescript-eslint/stylistic-type-checked',
14+
'plugin:react-hooks/recommended',
15+
'plugin:react/recommended',
16+
'plugin:react/jsx-runtime',
17+
],
18+
ignorePatterns: [
19+
'dist',
20+
'.eslintrc.cjs',
21+
'postcss.config.js',
22+
'*.config.ts',
23+
'*.setup.ts',
24+
],
25+
parser: '@typescript-eslint/parser',
26+
plugins: ['react-refresh'],
27+
rules: {
28+
'react-refresh/only-export-components': [
29+
'warn',
30+
{ allowConstantExport: true },
31+
],
32+
'@typescript-eslint/consistent-type-definitions': ['warn', 'type'],
33+
},
34+
};

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/CODEOWNERS

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

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'Lint & Test'
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
pull-requests: read
11+
statuses: write
12+
13+
jobs:
14+
main:
15+
name: Lint & Test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Use Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: '20.x'
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Run Linters
26+
run: npm run lint
27+
- name: Run Unit Tests
28+
run: npm test

.github/workflows/pr.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Lint PR'
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- reopened
8+
- edited
9+
- synchronize
10+
11+
permissions:
12+
pull-requests: read
13+
statuses: write
14+
15+
jobs:
16+
main:
17+
name: Validate PR title
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: PR Title Check
21+
uses: amannn/action-semantic-pull-request@v5
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
wip: true

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
!.vscode/settings.json
19+
.idea
20+
.DS_Store
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?

.htmlvalidate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": ["html-validate:recommended"],
3+
"elements": ["html5"],
4+
"rules": {
5+
"close-order": "error",
6+
"void-style": "off",
7+
"no-inline-style": "off"
8+
}
9+
}

.nvmrc

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

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

.vscode/extensions.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"recommendations": [
3+
"streetsidesoftware.code-spell-checker",
4+
"dbaeumer.vscode-eslint",
5+
"esbenp.prettier-vscode",
6+
"zixuanchen.vitest-explorer",
7+
"styled-components.vscode-styled-components",
8+
"eamodio.gitlens",
9+
"wix.vscode-import-cost",
10+
"davidanson.vscode-markdownlint",
11+
"html-validate.vscode-html-validate"
12+
]
13+
}

0 commit comments

Comments
 (0)