@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.
package/dist/oxfmt/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export declare const baseConfig: {
|
|
|
22
22
|
"import/no-default-export"?: undefined;
|
|
23
23
|
};
|
|
24
24
|
})[];
|
|
25
|
-
plugins: ("
|
|
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", "
|
|
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
|
|
93
|
+
* Require curly braces around control statement bodies.
|
|
94
94
|
*/
|
|
95
|
-
curly: ["error", "
|
|
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
|
|
93
|
+
* Require curly braces around control statement bodies.
|
|
94
94
|
*/
|
|
95
|
-
curly: ["error", "
|
|
95
|
+
curly: ["error", "all"],
|
|
96
96
|
/**
|
|
97
97
|
* Require default clauses in switch statements to be last (if used).
|
|
98
98
|
*/
|
package/dist/vite-plus/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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",
|