@shibanet0/datamitsu-config 0.0.3-alpha-7 → 0.0.3-alpha-8

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.
@@ -2894,7 +2894,7 @@ var mapOfApps = {
2894
2894
 
2895
2895
  // package.json
2896
2896
  var name = "@shibanet0/datamitsu-config";
2897
- var version = "0.0.3-alpha-7";
2897
+ var version = "0.0.3-alpha-8";
2898
2898
 
2899
2899
  // src/oxlint/index.ts
2900
2900
  var finalized = {
@@ -3345,6 +3345,7 @@ var init = {
3345
3345
  },
3346
3346
  ".oxlintrc.json": {
3347
3347
  content: (context) => {
3348
+ const previousConfig = JSON.parse(context.existingContent || "{}");
3348
3349
  return JSON.stringify(
3349
3350
  {
3350
3351
  ...oxlintConfig,
@@ -3354,7 +3355,7 @@ var init = {
3354
3355
  extends: [
3355
3356
  tools.Path.forImport(tools.Path.join(context.datamitsuDir, ".oxlintrc.json"))
3356
3357
  ],
3357
- rules: void 0
3358
+ rules: previousConfig.rules
3358
3359
  },
3359
3360
  $schema: tools.Path.forImport(
3360
3361
  tools.Path.join(context.datamitsuDir, "oxlint_configuration_schema.json")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shibanet0/datamitsu-config",
3
- "version": "0.0.3-alpha-7",
3
+ "version": "0.0.3-alpha-8",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",