@haltcase/style 9.0.0-canary.2 → 9.0.0-canary.3

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.
@@ -1,8 +1,8 @@
1
1
  import "node:path";
2
2
  import "node:url";
3
3
  import.meta.url;
4
- import { toMerged } from "es-toolkit";
5
4
  import { isPackageExists } from "local-pkg";
5
+ import { toMerged } from "es-toolkit";
6
6
  // src/oxfmt/index.ts
7
7
  const defaults = {
8
8
  arrowParens: "always",
@@ -22,7 +22,7 @@ export declare const baseConfig: {
22
22
  "import/no-default-export"?: undefined;
23
23
  };
24
24
  })[];
25
- plugins: ("promise" | "eslint" | "unicorn" | "oxc" | "import" | "jsdoc")[];
25
+ plugins: ("eslint" | "unicorn" | "oxc" | "import" | "jsdoc" | "promise")[];
26
26
  jsPlugins: import("oxlint").ExternalPluginEntry[];
27
27
  rules: {
28
28
  "haltcase/padding-between-statements": "error";
@@ -453,7 +453,7 @@ export declare const baseConfig: {
453
453
  allowImplicit: true;
454
454
  }];
455
455
  "block-scoped-var": "error";
456
- curly: ["error", "multi-line"];
456
+ curly: ["error", "all"];
457
457
  "default-case-last": "error";
458
458
  "default-param-last": "error";
459
459
  eqeqeq: ["error", "always", {
@@ -90,9 +90,9 @@ export declare const bestPracticeRules: {
90
90
  */
91
91
  "block-scoped-var": "error";
92
92
  /**
93
- * Require curly braces for multiline blocks.
93
+ * Require curly braces around control statement bodies.
94
94
  */
95
- curly: ["error", "multi-line"];
95
+ curly: ["error", "all"];
96
96
  /**
97
97
  * Require default clauses in switch statements to be last (if used).
98
98
  */
@@ -90,9 +90,9 @@ const bestPracticeRules = {
90
90
  */
91
91
  "block-scoped-var": "error",
92
92
  /**
93
- * Require curly braces for multiline blocks.
93
+ * Require curly braces around control statement bodies.
94
94
  */
95
- curly: ["error", "multi-line"],
95
+ curly: ["error", "all"],
96
96
  /**
97
97
  * Require default clauses in switch statements to be last (if used).
98
98
  */
@@ -1,8 +1,8 @@
1
1
  import "node:path";
2
2
  import "node:url";
3
3
  import.meta.url;
4
- import { createOxfmtConfig } from "../oxfmt/index.js";
5
4
  import { createOxlintConfig } from "../oxlint/index.js";
5
+ import { createOxfmtConfig } from "../oxfmt/index.js";
6
6
  // src/vite-plus/index.ts
7
7
  const createVitePlusConfig = (options) => ({
8
8
  ...options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haltcase/style",
3
- "version": "9.0.0-canary.2",
3
+ "version": "9.0.0-canary.3",
4
4
  "description": "haltcase's web ecosystem style guide & configurations",
5
5
  "keywords": [
6
6
  "editorconfig",
@@ -92,7 +92,7 @@
92
92
  "@commitlint/cli": "21.2.3",
93
93
  "@commitlint/config-conventional": "21.2.3",
94
94
  "@commitlint/types": "21.2.3",
95
- "@haltcase/style": "9.0.0-canary.2",
95
+ "@haltcase/style": "9.0.0-canary.3",
96
96
  "@octokit/types": "16.0.0",
97
97
  "@octokit/webhooks-types": "7.6.1",
98
98
  "@semantic-release/git": "11.0.1",