Dateien nach "/" hochladen
This commit is contained in:
parent
bcb3e754bc
commit
6ea8bf542f
45
biome.json
Normal file
45
biome.json
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true,
|
||||
"defaultBranch": "origin/master"
|
||||
},
|
||||
"files": {
|
||||
"includes": ["**/*.ts", "**/*.tsx", "**/*.json", "**/*.js", "**/*.jsx"],
|
||||
"ignoreUnknown": false
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"lineEnding": "lf",
|
||||
"lineWidth": 150,
|
||||
"attributePosition": "auto"
|
||||
},
|
||||
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true,
|
||||
"style": {
|
||||
"noParameterAssign": "error",
|
||||
"useAsConstAssertion": "error",
|
||||
"useDefaultParameterLast": "error",
|
||||
"useEnumInitializers": "error",
|
||||
"useSelfClosingElements": "error",
|
||||
"useSingleVarDeclarator": "error",
|
||||
"noUnusedTemplateLiteral": "error",
|
||||
"useNumberNamespace": "error",
|
||||
"noInferrableTypes": "error",
|
||||
"noUselessElse": "error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"quoteStyle": "double"
|
||||
}
|
||||
}
|
||||
}
|
||||
3
commitlint.config.js
Normal file
3
commitlint.config.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
};
|
||||
21
config.js
Normal file
21
config.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
export default {
|
||||
allowedCommands: ["bun ./scripts/update-config.ts", "bunx @biomejs/biome@2.0.0 check --write", "bun install && bun run test"],
|
||||
hostRules: [
|
||||
{
|
||||
hostType: "docker",
|
||||
matchHost: "index.docker.io",
|
||||
username: process.env.DOCKERHUB_USERNAME,
|
||||
password: process.env.DOCKERHUB_TOKEN,
|
||||
},
|
||||
{
|
||||
hostType: "docker",
|
||||
matchHost: "hub.docker.com",
|
||||
username: process.env.DOCKERHUB_USERNAME,
|
||||
password: process.env.DOCKERHUB_TOKEN,
|
||||
},
|
||||
{
|
||||
matchHost: "docker.io",
|
||||
concurrentRequestLimit: 2,
|
||||
},
|
||||
],
|
||||
};
|
||||
6
jest.config.js
Normal file
6
jest.config.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
||||
export default {
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "node",
|
||||
testMatch: ["**/__tests__/**/*.test.ts"],
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user