@area44/biome-config 2.2.3 → 2.2.4

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 +96 -95
  2. package/package.json +1 -4
package/biome.jsonc CHANGED
@@ -1,95 +1,96 @@
1
- {
2
- "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
- "files": {
4
- "includes": [
5
- "**",
6
- "!**/*.min.css",
7
- "!**/*.min.js",
8
- "!**/node_modules/",
9
- "!**/package-lock.json",
10
- "!**/pnpm-lock.yaml",
11
- "!**/yarn.lock",
12
- "!**/dist/",
13
- "!**/out/",
14
- "!**/.astro/",
15
- "!**/.github/",
16
- "!**/.netlify/",
17
- "!**/.next/"
18
- ]
19
- },
20
- "formatter": {
21
- "enabled": true,
22
- "formatWithErrors": true,
23
- "indentStyle": "space",
24
- "indentWidth": 2,
25
- "lineEnding": "lf",
26
- "lineWidth": 80,
27
- "attributePosition": "auto",
28
- "bracketSpacing": true
29
- },
30
- "assist": {
31
- "actions": {
32
- "source": {
33
- "organizeImports": "on"
34
- }
35
- }
36
- },
37
- "linter": {
38
- "enabled": true,
39
- "rules": {
40
- "recommended": true,
41
- "style": {
42
- "noNonNullAssertion": "off",
43
- "noParameterAssign": "error",
44
- "useAsConstAssertion": "error",
45
- "useDefaultParameterLast": "error",
46
- "useEnumInitializers": "error",
47
- "useSelfClosingElements": "error",
48
- "useSingleVarDeclarator": "error",
49
- "noUnusedTemplateLiteral": "error",
50
- "useNumberNamespace": "error",
51
- "noInferrableTypes": "error",
52
- "noUselessElse": "error"
53
- }
54
- }
55
- },
56
- "html": {
57
- "formatter": {
58
- "enabled": true
59
- }
60
- },
61
- "javascript": {
62
- "formatter": {
63
- "arrowParentheses": "always",
64
- "bracketSameLine": false,
65
- "jsxQuoteStyle": "double",
66
- "quoteProperties": "asNeeded",
67
- "quoteStyle": "double",
68
- "semicolons": "always",
69
- "trailingCommas": "es5"
70
- }
71
- },
72
- "overrides": [
73
- {
74
- "includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
75
- "linter": {
76
- "rules": {
77
- "style": {
78
- "useConst": "off",
79
- "useImportType": "off"
80
- },
81
- "correctness": {
82
- "noUnusedVariables": "off",
83
- "noUnusedImports": "off"
84
- }
85
- }
86
- }
87
- }
88
- ],
89
- "vcs": {
90
- "enabled": true,
91
- "clientKind": "git",
92
- "useIgnoreFile": true,
93
- "defaultBranch": "main"
94
- }
95
- }
1
+ {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
+ "files": {
4
+ "includes": [
5
+ "**",
6
+ "!**/*.min.css",
7
+ "!**/*.min.js",
8
+ "!**/node_modules/",
9
+ "!**/package-lock.json",
10
+ "!**/pnpm-lock.yaml",
11
+ "!**/yarn.lock",
12
+ "!**/dist/",
13
+ "!**/out/",
14
+ "!**/.astro/",
15
+ "!**/.github/",
16
+ "!**/.netlify/",
17
+ "!**/.next/"
18
+ ]
19
+ },
20
+ "formatter": {
21
+ "enabled": true,
22
+ "formatWithErrors": true,
23
+ "indentStyle": "space",
24
+ "indentWidth": 2,
25
+ "lineEnding": "lf",
26
+ "lineWidth": 80,
27
+ "attributePosition": "auto",
28
+ "bracketSpacing": true
29
+ },
30
+ "assist": {
31
+ "actions": {
32
+ "source": {
33
+ "organizeImports": "on"
34
+ }
35
+ }
36
+ },
37
+ "linter": {
38
+ "enabled": true,
39
+ "rules": {
40
+ "recommended": true,
41
+ "style": {
42
+ "noNonNullAssertion": "off",
43
+ "useImportType": "off",
44
+ "noParameterAssign": "error",
45
+ "useAsConstAssertion": "error",
46
+ "useDefaultParameterLast": "error",
47
+ "useEnumInitializers": "error",
48
+ "useSelfClosingElements": "error",
49
+ "useSingleVarDeclarator": "error",
50
+ "noUnusedTemplateLiteral": "error",
51
+ "useNumberNamespace": "error",
52
+ "noInferrableTypes": "error",
53
+ "noUselessElse": "error"
54
+ }
55
+ }
56
+ },
57
+ "html": {
58
+ "formatter": {
59
+ "enabled": true
60
+ }
61
+ },
62
+ "javascript": {
63
+ "formatter": {
64
+ "arrowParentheses": "always",
65
+ "bracketSameLine": false,
66
+ "jsxQuoteStyle": "double",
67
+ "quoteProperties": "asNeeded",
68
+ "quoteStyle": "double",
69
+ "semicolons": "always",
70
+ "trailingCommas": "es5"
71
+ }
72
+ },
73
+ "overrides": [
74
+ {
75
+ "includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
76
+ "linter": {
77
+ "rules": {
78
+ "style": {
79
+ "useConst": "off",
80
+ "useImportType": "off"
81
+ },
82
+ "correctness": {
83
+ "noUnusedVariables": "off",
84
+ "noUnusedImports": "off"
85
+ }
86
+ }
87
+ }
88
+ }
89
+ ],
90
+ "vcs": {
91
+ "enabled": true,
92
+ "clientKind": "git",
93
+ "useIgnoreFile": true,
94
+ "defaultBranch": "main"
95
+ }
96
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@area44/biome-config",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "AREA44's Biome configuration",
5
5
  "author": "AREA44 (https://github.com/area44)",
6
6
  "license": "MIT",
@@ -26,9 +26,6 @@
26
26
  "devDependencies": {
27
27
  "@biomejs/biome": "^2.1.1"
28
28
  },
29
- "engines": {
30
- "node": ">=22.17.0"
31
- },
32
29
  "scripts": {
33
30
  "check": "biome check --write .",
34
31
  "lint": "biome lint --write .",