Skip to content

Commit

Permalink
Biome linting adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
TfT Hacker committed Oct 27, 2024
1 parent 1bc290f commit 710dbac
Show file tree
Hide file tree
Showing 23 changed files with 2,153 additions and 2,144 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"editor.codeActionsOnSave":{
"source.organizeImports.biome": "explicit"
}
}
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 1.0.4

### New
- The internal command names have been renamed. Any plugins using these internal command names will need to be updated.

### Updates
- Transition to Biome from EsLint and Prettier.
- Updating plugint to newest Obsidian recommendations https://docs.obsidian.md/oo24/plugin


# 1.0.3

### fix
Expand Down
1 change: 1 addition & 0 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const prod = process.argv[2] === "production";
const context = await esbuild.context({
entryPoints: ["src/main.ts"],
bundle: true,
minify: prod,
external: [
"obsidian",
"electron",
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "node --no-warnings esbuild.config.mjs",
"build": "node --no-warnings esbuild.config.mjs production",
"lint": "biome check .",
"lint": "biome check ./src",
"version": "node version-bump.mjs",
"githubaction": "node version-github-action.mjs"
},
Expand All @@ -19,10 +19,8 @@
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/node": "^22.5.5",
"@types/obsidian-typings": "github:Fevol/obsidian-typings",
"builtin-modules": "4.0.0",
"esbuild": "0.23.1",
"eslint": "^8.57.0",
"jsdom": "^25.0.0",
"obsidian": "1.7.2",
"ts-node": "^10.9.2",
Expand Down
Loading

0 comments on commit 710dbac

Please sign in to comment.