Skip to content

Commit

Permalink
Merge pull request #20 from Zastinian/beta
Browse files Browse the repository at this point in the history
Update to version 3.0.0 part 2
  • Loading branch information
Zastinian authored Jun 5, 2024
2 parents 2bfd438 + f17df8b commit 458409f
Show file tree
Hide file tree
Showing 44 changed files with 383 additions and 513 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pr-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Format Check
run: pnpm run format:check

- name: Lint Check
run: pnpm run lint
- name: Lint/Format Check
run: pnpm run check
3 changes: 1 addition & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pnpm run format:check
pnpm run lint
pnpm run check
3 changes: 0 additions & 3 deletions .lintstagedrc

This file was deleted.

8 changes: 0 additions & 8 deletions .prettierignore

This file was deleted.

28 changes: 0 additions & 28 deletions .prettierrc.mjs

This file was deleted.

5 changes: 1 addition & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
"recommendations": ["biomejs.biome"]
}
15 changes: 9 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,27 @@
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"package.json": "pnpm-lock.yaml, package-lock.json, yarn.lock, bun.lockb",
".prettierrc.mjs": ".prettierignore",
"eslint.config.mjs": ".lintstagedrc"
"package.json": "pnpm-lock.yaml, package-lock.json, yarn.lock, bun.lockb"
},
"editor.linkedEditing": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"eslint.validate": ["javascript", "typescript"],
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
"typescript.format.insertSpaceBeforeFunctionParenthesis": false,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
46 changes: 46 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto",
"ignore": [
"**/pnpm-lock.yaml",
"**/package-lock.json",
"**/bun.lockb",
"**/yarn.lock",
"**/node_modules/",
"**/dist/",
"**/tmp/",
".vscode/extensions.json"
]
},
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": { "recommended": false, "style": { "useBlockStatements": "off" } }
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingComma": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto"
}
},
"overrides": [
{
"include": ["*.json", "*.md", "*.toml", "*.yml"],
"formatter": { "indentStyle": "space" }
}
]
}
2 changes: 1 addition & 1 deletion db.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Database = require("@hedystia/db");
const Database = require("@hedystia/db-rs");
const fs = require("fs");
const packageData = require("./package.json");
const wait = require("./src/util/wait");
Expand Down
Loading

0 comments on commit 458409f

Please sign in to comment.