@accelint/biome-config 0.1.1 → 1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @accelint/biome-config
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - f2d1601: upgraded to Biome V2
8
+
9
+ ## 0.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 2c661d3: Standardized package.json "exports" field
14
+
3
15
  ## 0.1.1
4
16
 
5
17
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @accelint/biome-config
2
+
3
+ Common configuration for biome
package/analyzer.json CHANGED
@@ -1,6 +1,15 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
3
- "organizeImports": {
4
- "enabled": true
2
+ "$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
3
+ "assist": {
4
+ "actions": {
5
+ "source": {
6
+ "organizeImports": {
7
+ "level": "on",
8
+ "options": {
9
+ "groups": [{ "type": false }]
10
+ }
11
+ }
12
+ }
13
+ }
5
14
  }
6
15
  }
package/formatter.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
3
3
  "formatter": {
4
4
  "enabled": true,
5
5
  "indentStyle": "space",
@@ -7,8 +7,7 @@
7
7
  "lineWidth": 80,
8
8
  "lineEnding": "lf",
9
9
  "attributePosition": "auto",
10
- "formatWithErrors": false,
11
- "ignore": []
10
+ "formatWithErrors": false
12
11
  },
13
12
  "javascript": {
14
13
  "formatter": {
package/linter.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
3
3
  "linter": {
4
4
  "enabled": true,
5
5
  "rules": {
@@ -17,7 +17,12 @@
17
17
  "noUndeclaredVariables": "error",
18
18
  "useExhaustiveDependencies": "warn",
19
19
  "noUnusedImports": "error",
20
- "noUnusedVariables": "error",
20
+ "noUnusedVariables": {
21
+ "level": "error",
22
+ "options": {
23
+ "ignoreRestSiblings": true
24
+ }
25
+ },
21
26
  "useHookAtTopLevel": "error"
22
27
  },
23
28
  "performance": {
@@ -34,9 +39,7 @@
34
39
  "syntax": "shorthand"
35
40
  }
36
41
  },
37
- "noParameterAssign": {
38
- "level": "error"
39
- },
42
+ "noParameterAssign": "error",
40
43
  "useNamingConvention": {
41
44
  "level": "error",
42
45
  "options": {
@@ -57,9 +60,7 @@
57
60
  "noArrayIndexKey": "warn",
58
61
  "noEmptyBlockStatements": "error",
59
62
  "useAwait": "error",
60
- "noExplicitAny": "warn"
61
- },
62
- "nursery": {
63
+ "noExplicitAny": "warn",
63
64
  "noDuplicateElseIf": "error"
64
65
  }
65
66
  }
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "@accelint/biome-config",
3
- "version": "0.1.1",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/gohypergiant/standard-toolkit"
9
+ },
6
10
  "type": "module",
7
11
  "exports": {
8
12
  "./analyzer": "./analyzer.json",
9
13
  "./formatter": "./formatter.json",
10
- "./linter": "./linter.json"
14
+ "./linter": "./linter.json",
15
+ "./package.json": "./package.json"
11
16
  },
12
17
  "$schema": "https://json.schemastore.org/package",
13
18
  "author": "https://hypergiant.com",
@@ -16,6 +21,6 @@
16
21
  },
17
22
  "sideEffects": false,
18
23
  "scripts": {
19
- "lint": "pnpm biome lint ./"
24
+ "lint": "pnpm biome lint"
20
25
  }
21
26
  }