nobiome
Some checks failed
CI/CD / test (push) Has been cancelled
CI/CD / deploy (push) Blocked by required conditions

This commit is contained in:
Untone 2024-02-17 14:51:18 +03:00
parent 821537d5cd
commit f87ba0d22d
6 changed files with 1 additions and 119 deletions

View File

@ -14,9 +14,6 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Lint with Biome
run: npx biome ci .
- name: Check types
run: npx tsc --noEmit

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ npm-debug.log*
.vscode
.DS_Store
.idea/
bun.lockdb

View File

@ -1,67 +0,0 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"files": {
"include": ["*.tsx", "*.ts", "*.js", "*.json"],
"ignore": ["./dist", "./node_modules", ".husky", "docs", "gen"]
},
"vcs": {
"defaultBranch": "dev",
"useIgnoreFile": true
},
"organizeImports": {
"enabled": true,
"ignore": ["./api", "./gen"]
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 108,
"ignore": ["./src/graphql/schema", "./gen"]
},
"javascript": {
"formatter": {
"semicolons": "asNeeded",
"quoteStyle": "single",
"trailingComma": "all",
"enabled": true,
"jsxQuoteStyle": "double",
"arrowParentheses": "always"
}
},
"linter": {
"ignore": ["*.scss", "*.md", ".DS_Store", "*.svg"],
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"all": true,
"noForEach": "off",
"useOptionalChain": "warn",
"useLiteralKeys": "off"
},
"a11y": {
"useHeadingContent": "off",
"useKeyWithClickEvents": "off",
"useKeyWithMouseEvents": "off",
"useAnchorContent": "off",
"useValidAnchor": "off",
"useMediaCaption": "off",
"useAltText": "off",
"useButtonType": "off",
"noRedundantAlt": "off",
"noSvgWithoutTitle": "off"
},
"nursery": {
"useImportRestrictions": "off"
},
"style": {
"useNamingConvention": "off",
"noUnusedTemplateLiteral": "off"
},
"suspicious": {
"noConsoleLog": "off",
"noAssignInExpressions": "off"
}
}
}
}

BIN
bun.lockb

Binary file not shown.

46
package-lock.json generated
View File

@ -11,9 +11,6 @@
"dependencies": {
"@authorizerdev/authorizer-js": "2.0.0",
"@hocuspocus/server": "2.0.1"
},
"devDependencies": {
"@biomejs/biome": "1.5.3"
}
},
"node_modules/@authorizerdev/authorizer-js": {
@ -30,49 +27,6 @@
"url": "https://github.com/sponsors/authorizerdev"
}
},
"node_modules/@biomejs/biome": {
"version": "1.5.3",
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.5.3.tgz",
"integrity": "sha512-yvZCa/g3akwTaAQ7PCwPWDCkZs3Qa5ONg/fgOUT9e6wAWsPftCjLQFPXBeGxPK30yZSSpgEmRCfpGTmVbUjGgg==",
"dev": true,
"hasInstallScript": true,
"bin": {
"biome": "bin/biome"
},
"engines": {
"node": ">=14.*"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/biome"
},
"optionalDependencies": {
"@biomejs/cli-darwin-arm64": "1.5.3",
"@biomejs/cli-darwin-x64": "1.5.3",
"@biomejs/cli-linux-arm64": "1.5.3",
"@biomejs/cli-linux-arm64-musl": "1.5.3",
"@biomejs/cli-linux-x64": "1.5.3",
"@biomejs/cli-linux-x64-musl": "1.5.3",
"@biomejs/cli-win32-arm64": "1.5.3",
"@biomejs/cli-win32-x64": "1.5.3"
}
},
"node_modules/@biomejs/cli-darwin-x64": {
"version": "1.5.3",
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.5.3.tgz",
"integrity": "sha512-vCdASqYnlpq/swErH7FD6nrFz0czFtK4k/iLgj0/+VmZVjineFPgevOb+Sr9vz0tk0GfdQO60bSpI74zU8M9Dw==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": ">=14.*"
}
},
"node_modules/@hocuspocus/common": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@hocuspocus/common/-/common-2.0.1.tgz",

View File

@ -17,8 +17,5 @@
"dependencies": {
"@authorizerdev/authorizer-js": "2.0.0",
"@hocuspocus/server": "2.0.1"
},
"devDependencies": {
"@biomejs/biome": "1.5.3"
}
}