@area44/biome-config 2.2.2 → 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 -108
  2. package/package.json +34 -37
package/biome.jsonc CHANGED
@@ -1,108 +1,96 @@
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
- }
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,37 +1,34 @@
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
- }
1
+ {
2
+ "name": "@area44/biome-config",
3
+ "version": "2.2.4",
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
+ "devDependencies": {
27
+ "@biomejs/biome": "^2.1.1"
28
+ },
29
+ "scripts": {
30
+ "check": "biome check --write .",
31
+ "lint": "biome lint --write .",
32
+ "format": "biome format --write ."
33
+ }
34
+ }