mirror of
https://github.com/yamadashy/repomix.git
synced 2025-06-11 00:25:54 +03:00
chore(config): Improve project configuration and linting
This commit is contained in:
13
biome.json
13
biome.json
@@ -1,5 +1,18 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
|
||||
"files": {
|
||||
"include": [
|
||||
"./src/**",
|
||||
"./tests/**",
|
||||
"package.json",
|
||||
"biome.json",
|
||||
".secretlintrc.json",
|
||||
"tsconfig.json",
|
||||
"tsconfig.build.json",
|
||||
"vite.config.ts",
|
||||
"repopack.config.json"
|
||||
]
|
||||
},
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"scripts": {
|
||||
"clean": "rimraf lib",
|
||||
"build": "npm run clean && tsc -p tsconfig.build.json --sourceMap --declaration",
|
||||
"lint": "biome lint --write ./src ./tests && biome format --write ./src ./tests && biome check --write ./src ./tests && tsc --noEmit && secretlint **/*",
|
||||
"lint": "biome lint --write && biome format --write && biome check --write && tsc --noEmit && secretlint **/*",
|
||||
"test": "vitest",
|
||||
"test-coverage": "vitest run --coverage",
|
||||
"cli-run": "npm run build && node --trace-warnings bin/repopack",
|
||||
|
||||
@@ -19,5 +19,5 @@
|
||||
"types": ["node", "picocolors"]
|
||||
},
|
||||
"include": ["src/**/*", "tests/**/*"],
|
||||
"exclude": ["tests/integration-tests/fixtures"],
|
||||
"exclude": ["tests/integration-tests/fixtures"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
@@ -9,5 +9,5 @@ export default defineConfig({
|
||||
include: ['src/**/*'],
|
||||
reporter: ['text', 'json', 'html'],
|
||||
},
|
||||
}
|
||||
})
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user