@luxfi/biome-config 1.0.0 → 1.0.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.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@luxfi/biome-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
+ "private": false,
4
5
  "description": "Shared Biome configuration for Lux Universe",
5
6
  "devDependencies": {
6
7
  "jsonc-parser": "3.2.0"
@@ -15,11 +16,6 @@
15
16
  "nx": {
16
17
  "includedScripts": []
17
18
  },
18
- "keywords": [
19
- "biome",
20
- "config",
21
- "linting",
22
- "formatting"
23
- ],
19
+ "keywords": ["biome", "config", "linting", "formatting"],
24
20
  "license": "MIT"
25
21
  }
package/src/processor.js CHANGED
@@ -31,7 +31,7 @@ function processConfig(baseConfig, globalRules) {
31
31
 
32
32
  // Second pass: process each override to resolve __INCLUDE_GLOBAL_VALUES__ markers
33
33
  config.overrides = processedOverrides.map((override) =>
34
- override.linter?.rules ? resolveIncludeGlobalValuesMarkers(override, globalRules) : override
34
+ override.linter?.rules ? resolveIncludeGlobalValuesMarkers(override, globalRules) : override,
35
35
  )
36
36
  } else if (config.overrides) {
37
37
  throw new Error('`overrides` must be an array')
@@ -78,7 +78,7 @@ describe('Biome Config Processor', () => {
78
78
  group: ['sessionStorage/*'],
79
79
  message: 'Please do not import from sessionStorage',
80
80
  },
81
- ])
81
+ ]),
82
82
  )
83
83
 
84
84
  // Should not include marker
@@ -329,7 +329,7 @@ describe('Biome Config Processor', () => {
329
329
 
330
330
  // Original config should still have the marker
331
331
  expect(
332
- originalConfig.overrides[0].linter.rules.style.noRestrictedImports.options.paths.__INCLUDE_GLOBAL_VALUES__
332
+ originalConfig.overrides[0].linter.rules.style.noRestrictedImports.options.paths.__INCLUDE_GLOBAL_VALUES__,
333
333
  ).toBe(true)
334
334
  })
335
335
  })