mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 17:30:01 +02:00
chore(biome): remove biome config and update ci pipeline description
This commit is contained in:
parent
fd6193a0a6
commit
9bae866031
2 changed files with 1 additions and 62 deletions
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
node_modules
|
node_modules
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
|
||||||
- name: Run Biome check
|
- name: Run Eslint check
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
prettier:
|
prettier:
|
||||||
|
|
61
biome.json
61
biome.json
|
@ -1,61 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
||||||
"organizeImports": {
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
"linter": {
|
|
||||||
"enabled": true,
|
|
||||||
"rules": {
|
|
||||||
"recommended": true,
|
|
||||||
"nursery": {
|
|
||||||
"useSortedClasses": "info"
|
|
||||||
},
|
|
||||||
"suspicious": {
|
|
||||||
"noExplicitAny": "warn"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"formatter": {
|
|
||||||
"enabled": true,
|
|
||||||
"indentStyle": "space",
|
|
||||||
"indentWidth": 2,
|
|
||||||
"lineWidth": 128,
|
|
||||||
"useEditorconfig": true
|
|
||||||
},
|
|
||||||
"files": {
|
|
||||||
"ignore": ["node_modules", ".git", "dist"]
|
|
||||||
},
|
|
||||||
"javascript": {
|
|
||||||
"formatter": {
|
|
||||||
"quoteStyle": "single",
|
|
||||||
"semicolons": "asNeeded"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assists": {
|
|
||||||
"actions": {
|
|
||||||
"source": {
|
|
||||||
"sortJsxProps": "on"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"vcs": {
|
|
||||||
"enabled": true,
|
|
||||||
"clientKind": "git",
|
|
||||||
"defaultBranch": "main",
|
|
||||||
"root": ".",
|
|
||||||
"useIgnoreFile": true
|
|
||||||
},
|
|
||||||
"overrides": [
|
|
||||||
{
|
|
||||||
"include": ["*.astro"],
|
|
||||||
"linter": {
|
|
||||||
"rules": {
|
|
||||||
"style": {
|
|
||||||
"useConst": "off",
|
|
||||||
"useImportType": "off"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue