@area44/biome-config 0.4.0 → 2.0.0

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 (2) hide show
  1. package/biome.jsonc +40 -22
  2. package/package.json +10 -8
package/biome.jsonc CHANGED
@@ -6,19 +6,20 @@
6
6
  "useIgnoreFile": true
7
7
  },
8
8
  "files": {
9
- "ignore": [
10
- "**/*.min.css",
11
- "**/*.min.js",
12
- "**/node_modules/",
13
- "**/package-lock.json",
14
- "**/pnpm-lock.yaml",
15
- "**/yarn.lock",
16
- "**/dist/",
17
- "**/out/",
18
- "**/.astro/",
19
- "**/.github/",
20
- "**/.netlify/",
21
- "**/.next/"
9
+ "includes": [
10
+ "**",
11
+ "!**/*.min.css",
12
+ "!**/*.min.js",
13
+ "!**/node_modules/",
14
+ "!**/package-lock.json",
15
+ "!**/pnpm-lock.yaml",
16
+ "!**/yarn.lock",
17
+ "!**/dist/",
18
+ "!**/out/",
19
+ "!**/.astro/",
20
+ "!**/.github/",
21
+ "!**/.netlify/",
22
+ "!**/.next/"
22
23
  ]
23
24
  },
24
25
  "formatter": {
@@ -30,13 +31,34 @@
30
31
  "lineWidth": 80,
31
32
  "attributePosition": "auto"
32
33
  },
33
- "organizeImports": {
34
- "enabled": true
34
+ "assist": {
35
+ "actions": {
36
+ "source": {
37
+ "organizeImports": "on"
38
+ }
39
+ }
35
40
  },
36
41
  "linter": {
37
42
  "enabled": true,
38
43
  "rules": {
39
- "recommended": true
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
40
62
  }
41
63
  },
42
64
  "javascript": {
@@ -53,11 +75,7 @@
53
75
  },
54
76
  "overrides": [
55
77
  {
56
- "include": [
57
- "*.svelte",
58
- "*.astro",
59
- "*.vue"
60
- ],
78
+ "includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
61
79
  "linter": {
62
80
  "rules": {
63
81
  "style": {
@@ -68,4 +86,4 @@
68
86
  }
69
87
  }
70
88
  ]
71
- }
89
+ }
package/package.json CHANGED
@@ -1,14 +1,20 @@
1
1
  {
2
2
  "name": "@area44/biome-config",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "2.0.0",
5
5
  "description": "AREA44's Biome configuration",
6
6
  "author": "AREA44 (https://github.com/AREA44)",
7
7
  "license": "MIT",
8
8
  "homepage": "https://github.com/AREA44/biome-config",
9
9
  "keywords": [
10
+ "biome",
10
11
  "biome-config"
11
12
  ],
13
+ "scripts": {
14
+ "check": "biome check --write .",
15
+ "lint": "biome lint --write .",
16
+ "format": "biome format --write ."
17
+ },
12
18
  "exports": {
13
19
  "./biome": "./biome.jsonc"
14
20
  },
@@ -16,11 +22,7 @@
16
22
  "biome.jsonc"
17
23
  ],
18
24
  "devDependencies": {
19
- "@biomejs/biome": "^1.9.4"
25
+ "@biomejs/biome": "^2.0.0"
20
26
  },
21
- "scripts": {
22
- "check": "biome check --write .",
23
- "lint": "biome lint --write .",
24
- "format": "biome format --write ."
25
- }
26
- }
27
+ "packageManager": "pnpm@10.12.1"
28
+ }