Skip to content

Commit

Permalink
Initial push w partially tested UI and code
Browse files Browse the repository at this point in the history
  • Loading branch information
KaffinPX committed Jan 2, 2024
1 parent 7da414e commit ad2c83e
Show file tree
Hide file tree
Showing 85 changed files with 7,633 additions and 341 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!src/
!src/*
48 changes: 48 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// eslint-disable-next-line no-undef
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "unused-imports"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
rules: {
"prettier/prettier": "warn",
quotes: [
"error",
"double",
{
avoidEscape: true,
allowTemplateLiterals: true
}
],
"no-undef": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-self-assign": "off",
"prefer-rest-params": "off",
"no-empty": [
"error",
{
allowEmptyCatch: true
}
],
"@typescript-eslint/no-this-alias": "off",
"no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
vars: "all",
varsIgnorePattern: "^_",
args: "after-used",
argsIgnorePattern: "^_"
}
]
}
}
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf
37 changes: 37 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Lint

on:
push:
branches:
- "*"
- "*/*"
pull_request:
paths:
- "**.ts"
- "**.tsx"
- "**.js"
- "**.jsx"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false

- name: Setup NodeJS
uses: actions/setup-node@v1
with:
node-version: 16

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 7.30.0

- name: Install and Lint
run: |
pnpm install
pnpm lint
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.DS_Store
.idea/workspace.xml
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": false,
"semi": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "none",
"arrowParens": "avoid"
}
Loading

0 comments on commit ad2c83e

Please sign in to comment.