@area44/biome-config 2.0.1 → 2.2.2

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