Skip to content

Commit 22eae9d

Browse files
committed
Update deps
1 parent 9653f1d commit 22eae9d

File tree

3 files changed

+164
-149
lines changed

3 files changed

+164
-149
lines changed

eslint.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ const unicornPlugin = require('eslint-plugin-unicorn')
1616
const tsEslint = require('typescript-eslint')
1717

1818
const constants = require('@socketsecurity/registry/lib/constants')
19-
const { GIT_IGNORE, LATEST, TSCONFIG_JSON } = constants
19+
const { BIOME_JSON, GIT_IGNORE, LATEST, TSCONFIG_JSON } = constants
2020

2121
const { flatConfigs: origImportXFlatConfigs } = importXPlugin
2222

2323
const rootPath = __dirname
2424
const rootTsConfigPath = path.join(rootPath, TSCONFIG_JSON)
25+
26+
const biomeConfigPath = path.join(rootPath, BIOME_JSON)
2527
const gitignorePath = path.join(rootPath, GIT_IGNORE)
2628

27-
const BIOME_JSON = 'biome.json'
28-
const biomeConfig = require(path.join(rootPath, BIOME_JSON))
29+
const biomeConfig = require(biomeConfigPath)
2930

3031
const sharedPlugins = {
3132
'sort-destructure-keys': sortDestructureKeysPlugin,

0 commit comments

Comments
 (0)