mirror of
https://github.com/mtshiba/pylyzer.git
synced 2025-08-04 06:18:18 +00:00
chore: replace rome
with biome
since it has been deprecated
This commit is contained in:
parent
a59528ba7c
commit
c8863ca77c
7 changed files with 606 additions and 592 deletions
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
@ -2,5 +2,9 @@
|
|||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.black-formatter"
|
||||
},
|
||||
"python.formatting.provider": "none"
|
||||
"python.formatting.provider": "none",
|
||||
"[typescript]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "biomejs.biome"
|
||||
}
|
||||
}
|
2
extension/.vscode/extensions.json
vendored
2
extension/.vscode/extensions.json
vendored
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"recommendations": ["amodio.tsl-problem-matcher", "rome.rome"]
|
||||
"recommendations": ["amodio.tsl-problem-matcher", "biomejs.biome"]
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@ src/**
|
|||
**/*.ts
|
||||
.gitignore
|
||||
webpack.config.js
|
||||
rome.json
|
||||
biome.json
|
||||
|
|
31
extension/biome.json
Normal file
31
extension/biome.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "tab",
|
||||
"lineWidth": 120,
|
||||
"ignore": ["dist/**", "out/**", ".vscode-test/**", ".vscode/**"]
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true
|
||||
},
|
||||
"ignore": ["dist/**", "out/**", ".vscode-test/**", ".vscode/**"]
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
"indentStyle": "tab",
|
||||
"lineWidth": 120
|
||||
}
|
||||
},
|
||||
"json": {
|
||||
"formatter": {
|
||||
"indentStyle": "tab",
|
||||
"lineWidth": 120
|
||||
}
|
||||
}
|
||||
}
|
955
extension/package-lock.json
generated
955
extension/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,19 +7,14 @@
|
|||
"engines": {
|
||||
"vscode": "^1.70.0"
|
||||
},
|
||||
"categories": [
|
||||
"Programming Languages",
|
||||
"Linters"
|
||||
],
|
||||
"categories": ["Programming Languages", "Linters"],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mtshiba/pylyzer.git"
|
||||
},
|
||||
"icon": "images/pylyzer-logo.png",
|
||||
"main": "./dist/extension.js",
|
||||
"activationEvents": [
|
||||
"onLanguage:python"
|
||||
],
|
||||
"activationEvents": ["onLanguage:python"],
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
|
@ -31,13 +26,8 @@
|
|||
"languages": [
|
||||
{
|
||||
"id": "python",
|
||||
"aliases": [
|
||||
"Python",
|
||||
"python"
|
||||
],
|
||||
"extensions": [
|
||||
".py"
|
||||
]
|
||||
"aliases": ["Python", "python"],
|
||||
"extensions": [".py"]
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
|
@ -74,16 +64,16 @@
|
|||
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
||||
"test": "node ./out/test/runTest.js",
|
||||
"type-check": "tsc --noEmit",
|
||||
"lint": "rome check .",
|
||||
"format": "rome format .",
|
||||
"lint:fix": "rome check --apply .",
|
||||
"lint:fix-suggested": "rome check --apply-suggested .",
|
||||
"format:fix": "rome format --write ."
|
||||
"lint": "biome lint .",
|
||||
"format": "biome format .",
|
||||
"lint:fix-suggested": "biome check --apply .",
|
||||
"format:fix": "biome format --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
"vscode-languageclient": "^8.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.7.3",
|
||||
"@types/glob": "^8.0.0",
|
||||
"@types/mocha": "^10.0.1",
|
||||
"@types/node": "18.x",
|
||||
|
@ -91,13 +81,12 @@
|
|||
"@vscode/test-electron": "^2.2.1",
|
||||
"glob": "^8.0.3",
|
||||
"mocha": "^10.2.0",
|
||||
"rome": "^10.0.1",
|
||||
"ts-loader": "^9.4.2",
|
||||
"typescript": "^4.9.4",
|
||||
"webpack": "^5.75.0",
|
||||
"webpack-cli": "^5.0.1"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "rome format --write"
|
||||
"*": "biome format --write"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"linter": {
|
||||
"rules": {
|
||||
"recommended": true
|
||||
},
|
||||
"ignore": ["/dist/", "/out/", "/.vscode-test/"]
|
||||
},
|
||||
"formatter": {
|
||||
"ignore": ["/dist/", "/out/", "/.vscode-test/"]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue