Skip to content

Commit

Permalink
Initialize project
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleCreativity committed Nov 17, 2024
1 parent dd77073 commit 4ebeb35
Show file tree
Hide file tree
Showing 8 changed files with 4,355 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/biome-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: BiomeJS Check

on:
push:
branches-ignore:
- release
pull_request:
branches-ignore:
- release
jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ">=22"

- name: Install Dependencies
run: npm install

- name: Biome Lint
run: npm run lint

formatting:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ">=22"

- name: Install Dependencies
run: npm install

- name: Biome Format
run: npm run format

organized-imports:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ">=22"

- name: Install Dependencies
run: npm install

- name: Biome Organized Imports Check
run: npm run organized-imports
26 changes: 26 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Typescript

on:
push:
branches-ignore:
- release
pull_request:
branches-ignore:
- release
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ">=22"

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"biome.enabled": true,

"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.biome": "always",
"source.organizeImports.biome": "always"
}
}
39 changes: 39 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "main"
},

"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noParameterAssign": "off"
}
}
},

"json": {
"parser": {
"allowComments": true
}
},

"formatter": {
"enabled": true,

"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120,

"formatWithErrors": true
},

"organizeImports": {
"enabled": true
}
}
Loading

0 comments on commit 4ebeb35

Please sign in to comment.