mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Migrate Renovate config to JSON5 (#13233)
* Renamed to JSON5 * Updated linting script to use new file name. * Add JSON5 dependency * Added JSON5 to renovate. * Removed JSON5 formatting * Prettier * Added comment for demonstration --------- Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
|
||||
const renovateConfig = JSON.parse(
|
||||
fs.readFileSync(path.join(__dirname, "..", "..", ".github", "renovate.json"), "utf8"),
|
||||
import JSON5 from "json5";
|
||||
|
||||
const renovateConfig = JSON5.parse(
|
||||
fs.readFileSync(path.join(__dirname, "..", "..", ".github", "renovate.json5"), "utf8"),
|
||||
);
|
||||
|
||||
const packagesWithOwners = renovateConfig.packageRules
|
||||
|
||||
Reference in New Issue
Block a user