mirror of https://github.com/mtshiba/pylyzer
chore: replace `rome` with `biome` since it has been deprecated
This commit is contained in:
parent
a59528ba7c
commit
c8863ca77c
|
|
@ -2,5 +2,9 @@
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "ms-python.black-formatter"
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
||||||
},
|
},
|
||||||
"python.formatting.provider": "none"
|
"python.formatting.provider": "none",
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "biomejs.biome"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"recommendations": ["amodio.tsl-problem-matcher", "rome.rome"]
|
"recommendations": ["amodio.tsl-problem-matcher", "biomejs.biome"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@ src/**
|
||||||
**/*.ts
|
**/*.ts
|
||||||
.gitignore
|
.gitignore
|
||||||
webpack.config.js
|
webpack.config.js
|
||||||
rome.json
|
biome.json
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,103 +1,92 @@
|
||||||
{
|
{
|
||||||
"name": "pylyzer",
|
"name": "pylyzer",
|
||||||
"displayName": "pylyzer",
|
"displayName": "pylyzer",
|
||||||
"description": "A fast Python static code analyzer & language server for VSCode",
|
"description": "A fast Python static code analyzer & language server for VSCode",
|
||||||
"publisher": "pylyzer",
|
"publisher": "pylyzer",
|
||||||
"version": "0.1.7",
|
"version": "0.1.7",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.70.0"
|
"vscode": "^1.70.0"
|
||||||
},
|
},
|
||||||
"categories": [
|
"categories": ["Programming Languages", "Linters"],
|
||||||
"Programming Languages",
|
"repository": {
|
||||||
"Linters"
|
"type": "git",
|
||||||
],
|
"url": "https://github.com/mtshiba/pylyzer.git"
|
||||||
"repository": {
|
},
|
||||||
"type": "git",
|
"icon": "images/pylyzer-logo.png",
|
||||||
"url": "https://github.com/mtshiba/pylyzer.git"
|
"main": "./dist/extension.js",
|
||||||
},
|
"activationEvents": ["onLanguage:python"],
|
||||||
"icon": "images/pylyzer-logo.png",
|
"contributes": {
|
||||||
"main": "./dist/extension.js",
|
"commands": [
|
||||||
"activationEvents": [
|
{
|
||||||
"onLanguage:python"
|
"title": "Restart the pylyzer language server",
|
||||||
],
|
"category": "python",
|
||||||
"contributes": {
|
"command": "pylyzer.restartLanguageServer"
|
||||||
"commands": [
|
}
|
||||||
{
|
],
|
||||||
"title": "Restart the pylyzer language server",
|
"languages": [
|
||||||
"category": "python",
|
{
|
||||||
"command": "pylyzer.restartLanguageServer"
|
"id": "python",
|
||||||
}
|
"aliases": ["Python", "python"],
|
||||||
],
|
"extensions": [".py"]
|
||||||
"languages": [
|
}
|
||||||
{
|
],
|
||||||
"id": "python",
|
"configuration": {
|
||||||
"aliases": [
|
"type": "object",
|
||||||
"Python",
|
"title": "pylyzer",
|
||||||
"python"
|
"properties": {
|
||||||
],
|
"pylyzer.diagnostics": {
|
||||||
"extensions": [
|
"type": "boolean",
|
||||||
".py"
|
"default": true,
|
||||||
]
|
"markdownDescription": "Enable diagnostics"
|
||||||
}
|
},
|
||||||
],
|
"pylyzer.inlayHints": {
|
||||||
"configuration": {
|
"type": "boolean",
|
||||||
"type": "object",
|
"default": false,
|
||||||
"title": "pylyzer",
|
"markdownDescription": "Enable inlay hints (this feature is unstable)"
|
||||||
"properties": {
|
},
|
||||||
"pylyzer.diagnostics": {
|
"pylyzer.smartCompletion": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"markdownDescription": "Enable diagnostics"
|
"markdownDescription": "Enable smart completion (see [ELS features](https://github.com/erg-lang/erg/blob/main/crates/els/doc/features.md))"
|
||||||
},
|
}
|
||||||
"pylyzer.inlayHints": {
|
}
|
||||||
"type": "boolean",
|
}
|
||||||
"default": false,
|
},
|
||||||
"markdownDescription": "Enable inlay hints (this feature is unstable)"
|
"scripts": {
|
||||||
},
|
"vscode:publish": "vsce publish",
|
||||||
"pylyzer.smartCompletion": {
|
"vscode:prepublish": "npm run package",
|
||||||
"type": "boolean",
|
"vscode:package": "vsce package",
|
||||||
"default": true,
|
"compile": "webpack",
|
||||||
"markdownDescription": "Enable smart completion (see [ELS features](https://github.com/erg-lang/erg/blob/main/crates/els/doc/features.md))"
|
"watch": "webpack --watch",
|
||||||
}
|
"package": "webpack --mode production --devtool hidden-source-map",
|
||||||
}
|
"compile-tests": "tsc -p . --outDir out",
|
||||||
}
|
"watch-tests": "tsc -p . -w --outDir out",
|
||||||
},
|
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
||||||
"scripts": {
|
"test": "node ./out/test/runTest.js",
|
||||||
"vscode:publish": "vsce publish",
|
"type-check": "tsc --noEmit",
|
||||||
"vscode:prepublish": "npm run package",
|
"lint": "biome lint .",
|
||||||
"vscode:package": "vsce package",
|
"format": "biome format .",
|
||||||
"compile": "webpack",
|
"lint:fix-suggested": "biome check --apply .",
|
||||||
"watch": "webpack --watch",
|
"format:fix": "biome format --write ."
|
||||||
"package": "webpack --mode production --devtool hidden-source-map",
|
},
|
||||||
"compile-tests": "tsc -p . --outDir out",
|
"dependencies": {
|
||||||
"watch-tests": "tsc -p . -w --outDir out",
|
"vscode-languageclient": "^8.0.2"
|
||||||
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
},
|
||||||
"test": "node ./out/test/runTest.js",
|
"devDependencies": {
|
||||||
"type-check": "tsc --noEmit",
|
"@biomejs/biome": "^1.7.3",
|
||||||
"lint": "rome check .",
|
"@types/glob": "^8.0.0",
|
||||||
"format": "rome format .",
|
"@types/mocha": "^10.0.1",
|
||||||
"lint:fix": "rome check --apply .",
|
"@types/node": "18.x",
|
||||||
"lint:fix-suggested": "rome check --apply-suggested .",
|
"@types/vscode": "^1.70.0",
|
||||||
"format:fix": "rome format --write ."
|
"@vscode/test-electron": "^2.2.1",
|
||||||
},
|
"glob": "^8.0.3",
|
||||||
"dependencies": {
|
"mocha": "^10.2.0",
|
||||||
"vscode-languageclient": "^8.0.2"
|
"ts-loader": "^9.4.2",
|
||||||
},
|
"typescript": "^4.9.4",
|
||||||
"devDependencies": {
|
"webpack": "^5.75.0",
|
||||||
"@types/glob": "^8.0.0",
|
"webpack-cli": "^5.0.1"
|
||||||
"@types/mocha": "^10.0.1",
|
},
|
||||||
"@types/node": "18.x",
|
"lint-staged": {
|
||||||
"@types/vscode": "^1.70.0",
|
"*": "biome format --write"
|
||||||
"@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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"linter": {
|
|
||||||
"rules": {
|
|
||||||
"recommended": true
|
|
||||||
},
|
|
||||||
"ignore": ["/dist/", "/out/", "/.vscode-test/"]
|
|
||||||
},
|
|
||||||
"formatter": {
|
|
||||||
"ignore": ["/dist/", "/out/", "/.vscode-test/"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue