Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 14, 2023
1 parent 5f3e032 commit 1a09610
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 84 deletions.
2 changes: 1 addition & 1 deletion Configuration/ESBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
resolveFrom: "out",
assets: [
{
from: "./Source/Notation/biome.json",
from: "./Source/Notation/Biome.json",
to: "./Notation/",
},
],
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ export default {

> **Note**
>
> If you provide a `biome.json` config file the utility will pick it up
> If you provide a `Biome.json` config file the utility will pick it up
> automatically.
> **Warning**
>
> The configuration options from the `astro.config.ts` file will override the
> `biome.json` config.
> `Biome.json` config.
#### You can add multiple paths to validate / format by specifying an array as the `Path` variable.

Expand Down
57 changes: 57 additions & 0 deletions Source/Notation/Biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"$schema": "https://biomejs.dev/schemas/1.2.2/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentWidth": 4,
"indentStyle": "tab",
"lineWidth": 80
},
"javascript": {
"formatter": {
"enabled": true,
"arrowParentheses": "always",
"indentStyle": "tab",
"indentWidth": 4,
"jsxQuoteStyle": "double",
"lineWidth": 80,
"quoteProperties": "asNeeded",
"quoteStyle": "double",
"semicolons": "always",
"trailingComma": "all"
}
},
"linter": {
"enabled": true,
"rules": {
"a11y": {
"all": true
},
"all": true,
"complexity": {
"all": true
},
"correctness": {
"all": true
},
"nursery": {
"all": true
},
"performance": {
"all": true
},
"security": {
"all": true
},
"style": {
"all": true
},
"suspicious": {
"all": true
}
}
}
}
80 changes: 0 additions & 80 deletions Source/Notation/Rome.json

This file was deleted.

2 changes: 1 addition & 1 deletion Source/Variable/Biome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*/
export default JSON.parse(
await (await import("../Function/Config.js")).default("biome.json")
await (await import("../Function/Config.js")).default("Biome.json")
) satisfies Type;

import type Type from "../Interface/Biome.js";

0 comments on commit 1a09610

Please sign in to comment.