@storm-software/eslint 0.123.3 → 0.124.1

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.
@@ -8,7 +8,7 @@ import {
8
8
  // src/utils/get-file-banner.ts
9
9
  var getFileBanner = /* @__PURE__ */ __name((name = "") => {
10
10
  if (!name) {
11
- name = process.env.STORM_NAMESPACE || "";
11
+ name = process.env.STORM_NAME || "";
12
12
  }
13
13
  let padding = " ";
14
14
  for (let i = 0; i < name.length + 2 && padding.length > 4; i++) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "./chunk-K6KBWFPU.js";
3
+ } from "./chunk-J2PN7K74.js";
4
4
  import {
5
5
  GLOB_SRC
6
6
  } from "./chunk-X3L37QNE.js";
@@ -45,9 +45,9 @@ __name(getLeadingComments, "getLeadingComments");
45
45
  function genCommentBody(commentType, textArray, eol, numNewlines) {
46
46
  const eols = eol.repeat(numNewlines);
47
47
  if (commentType === "block") {
48
- return "/*" + textArray.join(eol) + "*/" + eols;
48
+ return "/* " + textArray.join(eol) + " */" + eols;
49
49
  } else {
50
- return "//" + textArray.join(eol + "//") + eols;
50
+ return "// " + textArray.join(eol + " //") + eols;
51
51
  }
52
52
  }
53
53
  __name(genCommentBody, "genCommentBody");
package/dist/preset.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  banner_plugin_default
3
- } from "./chunk-W6QEP5VE.js";
4
- import "./chunk-K6KBWFPU.js";
3
+ } from "./chunk-LFZMLUCG.js";
4
+ import "./chunk-J2PN7K74.js";
5
5
  import {
6
6
  GLOB_ASTRO,
7
7
  GLOB_ASTRO_TS,
@@ -190,6 +190,7 @@ async function stylistic(options = {}) {
190
190
  },
191
191
  rules: {
192
192
  ...config.rules,
193
+ "lines-around-comment": "off",
193
194
  ...overrides
194
195
  }
195
196
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  banner_plugin_default
3
- } from "../chunk-W6QEP5VE.js";
4
- import "../chunk-K6KBWFPU.js";
3
+ } from "../chunk-LFZMLUCG.js";
4
+ import "../chunk-J2PN7K74.js";
5
5
  import "../chunk-X3L37QNE.js";
6
6
  import "../chunk-SHUYVCID.js";
7
7
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "../chunk-K6KBWFPU.js";
3
+ } from "../chunk-J2PN7K74.js";
4
4
  import "../chunk-X3L37QNE.js";
5
5
  import "../chunk-SHUYVCID.js";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.123.3",
3
+ "version": "0.124.1",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {