@area44/biome-config 2.0.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/biome.jsonc +3 -72
  3. package/package.json +26 -12
package/README.md CHANGED
@@ -18,7 +18,7 @@ To apply the configuration, update your `biome.json` file as follows:
18
18
  }
19
19
  ```
20
20
 
21
- For more details on configuring Biome, refer to the official guide [Biome Configuration Guide](https://biomejs.dev/guides/configure-biome/#share-a-configuration-file).
21
+ For more details on configuring Biome, refer to the official guide [Biome Configuration Guide](https://biomejs.dev/guides/configure-biome/#sharing-a-configuration-file).
22
22
 
23
23
  ## License
24
24
 
package/biome.jsonc CHANGED
@@ -1,13 +1,8 @@
1
1
  {
2
- "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
- "vcs": {
4
- "clientKind": "git",
5
- "enabled": true,
6
- "useIgnoreFile": true
7
- },
2
+ "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
3
+ "extends": ["ultracite"],
8
4
  "files": {
9
5
  "includes": [
10
- "**",
11
6
  "!**/*.min.css",
12
7
  "!**/*.min.js",
13
8
  "!**/node_modules/",
@@ -21,69 +16,5 @@
21
16
  "!**/.netlify/",
22
17
  "!**/.next/"
23
18
  ]
24
- },
25
- "formatter": {
26
- "enabled": true,
27
- "formatWithErrors": false,
28
- "indentStyle": "space",
29
- "indentWidth": 2,
30
- "lineEnding": "lf",
31
- "lineWidth": 80,
32
- "attributePosition": "auto"
33
- },
34
- "assist": {
35
- "actions": {
36
- "source": {
37
- "organizeImports": "on"
38
- }
39
- }
40
- },
41
- "linter": {
42
- "enabled": true,
43
- "rules": {
44
- "recommended": true,
45
- "style": {
46
- "noParameterAssign": "error",
47
- "useAsConstAssertion": "error",
48
- "useDefaultParameterLast": "error",
49
- "useEnumInitializers": "error",
50
- "useSelfClosingElements": "error",
51
- "useSingleVarDeclarator": "error",
52
- "noUnusedTemplateLiteral": "error",
53
- "useNumberNamespace": "error",
54
- "noInferrableTypes": "error",
55
- "noUselessElse": "error"
56
- }
57
- }
58
- },
59
- "html": {
60
- "formatter": {
61
- "enabled": true
62
- }
63
- },
64
- "javascript": {
65
- "formatter": {
66
- "jsxQuoteStyle": "double",
67
- "quoteProperties": "asNeeded",
68
- "trailingCommas": "all",
69
- "semicolons": "always",
70
- "arrowParentheses": "always",
71
- "bracketSpacing": true,
72
- "bracketSameLine": false,
73
- "quoteStyle": "double"
74
- }
75
- },
76
- "overrides": [
77
- {
78
- "includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
79
- "linter": {
80
- "rules": {
81
- "style": {
82
- "useConst": "off",
83
- "useImportType": "off"
84
- }
85
- }
86
- }
87
- }
88
- ]
19
+ }
89
20
  }
package/package.json CHANGED
@@ -1,28 +1,42 @@
1
1
  {
2
2
  "name": "@area44/biome-config",
3
- "type": "module",
4
- "version": "2.0.0",
3
+ "version": "2.2.1",
5
4
  "description": "AREA44's Biome configuration",
6
- "author": "AREA44 (https://github.com/AREA44)",
5
+ "author": "AREA44 (https://github.com/area44)",
7
6
  "license": "MIT",
8
- "homepage": "https://github.com/AREA44/biome-config",
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "registry": "https://registry.npmjs.org/"
10
+ },
11
+ "homepage": "https://github.com/area44/biome-config",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/area44/biome-config.git"
15
+ },
9
16
  "keywords": [
10
17
  "biome",
11
- "biome-config"
18
+ "biome-config",
19
+ "linter",
20
+ "formatter"
12
21
  ],
13
- "scripts": {
14
- "check": "biome check --write .",
15
- "lint": "biome lint --write .",
16
- "format": "biome format --write ."
17
- },
18
22
  "exports": {
19
23
  "./biome": "./biome.jsonc"
20
24
  },
21
25
  "files": [
22
26
  "biome.jsonc"
23
27
  ],
28
+ "scripts": {
29
+ "check": "biome check --write .",
30
+ "lint": "biome lint --write .",
31
+ "format": "biome format --write ."
32
+ },
33
+ "dependencies": {
34
+ "ultracite": "5.0.32"
35
+ },
24
36
  "devDependencies": {
25
- "@biomejs/biome": "^2.0.0"
37
+ "@biomejs/biome": "^2.0.6"
26
38
  },
27
- "packageManager": "pnpm@10.12.1"
39
+ "engines": {
40
+ "node": ">=22"
41
+ }
28
42
  }