@powerlines/plugin-eslint 0.8.163 → 0.8.165
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/helpers/index.cjs +1 -4
- package/dist/helpers/index.mjs +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/get-object-tag.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/get-object-tag.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-date.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-date.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-empty.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-empty.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-function.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-function.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-non-null-object.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-non-null-object.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-null.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-null.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-number.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-number.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-object.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-object.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-plain-object.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-plain-object.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-set-object.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-set-object.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-set.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-set.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-symbol.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-symbol.mjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-undefined.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_type-checks@0.5.16 → @stryke_type-checks@0.5.17}/node_modules/@stryke/type-checks/dist/is-undefined.mjs +1 -1
- package/dist/packages/powerlines/src/types/config.d.mts +3 -3
- package/dist/powerlines/src/types/config.d.cts +3 -3
- package/dist/types/index.d.mts +1 -2
- package/package.json +5 -5
- package/dist/helpers/index.d.cts +0 -2
- package/dist/helpers/index.d.mts +0 -2
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +0 -2
- package/dist/types/index.mjs +0 -1
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.mjs +0 -1
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
exports.MessageSeverity = require_helpers_format_message.MessageSeverity;
|
|
4
|
-
exports.formatMessage = require_helpers_format_message.formatMessage;
|
|
1
|
+
const require_format_message = require('./format-message.cjs');
|
package/dist/helpers/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_is_set_object = require('./node_modules/.pnpm/@stryke_type-checks@0.5.
|
|
3
|
-
const
|
|
2
|
+
const require_is_set_object = require('./node_modules/.pnpm/@stryke_type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-set-object.cjs');
|
|
3
|
+
const require_format_message = require('./helpers/format-message.cjs');
|
|
4
4
|
require('./helpers/index.cjs');
|
|
5
5
|
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
6
6
|
let __stryke_fs_exists = require("@stryke/fs/exists");
|
|
@@ -93,7 +93,7 @@ function plugin(options = {}) {
|
|
|
93
93
|
if ("loadESLint" in module$1) ESLint = await module$1.loadESLint({ useFlatConfig: this.config.lint.eslint.configFile ? (0, __stryke_path_find.findFileName)(this.config.lint.eslint.configFile).startsWith("eslint.config.") : true });
|
|
94
94
|
if (this.config.lint.eslint.fix) await ESLint.outputFixes(results);
|
|
95
95
|
if (this.config.lint.eslint.reportErrorsOnly) results = ESLint.getErrorResults(results);
|
|
96
|
-
const output = results.filter(({ messages }) => messages?.length).map(({ messages, filePath }) =>
|
|
96
|
+
const output = results.filter(({ messages }) => messages?.length).map(({ messages, filePath }) => require_format_message.formatMessage(this.config.projectRoot, messages, filePath)).join("\n");
|
|
97
97
|
if (this.config.lint.eslint.outputFile) await this.fs.write(this.config.lint.eslint.outputFile, output);
|
|
98
98
|
else this.log(__storm_software_config_tools_types.LogLevelLabel.INFO, output);
|
|
99
99
|
}
|
|
@@ -102,7 +102,7 @@ function plugin(options = {}) {
|
|
|
102
102
|
var src_default = plugin;
|
|
103
103
|
|
|
104
104
|
//#endregion
|
|
105
|
-
exports.MessageSeverity =
|
|
105
|
+
exports.MessageSeverity = require_format_message.MessageSeverity;
|
|
106
106
|
exports.default = src_default;
|
|
107
|
-
exports.formatMessage =
|
|
107
|
+
exports.formatMessage = require_format_message.formatMessage;
|
|
108
108
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LintMessage, MessageSeverity, __ΩLintMessage, __ΩMessageSeverity, formatMessage } from "./helpers/format-message.cjs";
|
|
2
1
|
import { Plugin } from "./powerlines/src/types/plugin.cjs";
|
|
3
2
|
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./types/plugin.cjs";
|
|
3
|
+
import { LintMessage, MessageSeverity, __ΩLintMessage, __ΩMessageSeverity, formatMessage } from "./helpers/format-message.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LintMessage, MessageSeverity, __ΩLintMessage, __ΩMessageSeverity, formatMessage } from "./helpers/format-message.mjs";
|
|
2
1
|
import { Plugin } from "./packages/powerlines/src/types/plugin.mjs";
|
|
3
2
|
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./types/plugin.mjs";
|
|
3
|
+
import { LintMessage, MessageSeverity, __ΩLintMessage, __ΩMessageSeverity, formatMessage } from "./helpers/format-message.mjs";
|
|
4
4
|
import "./types/index.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t } from "./node_modules/.pnpm/@stryke_type-checks@0.5.
|
|
1
|
+
import { t } from "./node_modules/.pnpm/@stryke_type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-set-object.mjs";
|
|
2
2
|
import { MessageSeverity, formatMessage } from "./helpers/format-message.mjs";
|
|
3
3
|
import "./helpers/index.mjs";
|
|
4
4
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/get-object-tag.mjs
|
|
3
3
|
const e = (e$1) => e$1 == null ? e$1 === void 0 ? `[object Undefined]` : `[object Null]` : Object.prototype.toString.call(e$1);
|
|
4
4
|
|
|
5
5
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/get-object-tag.mjs
|
|
2
2
|
const e = (e$1) => e$1 == null ? e$1 === void 0 ? `[object Undefined]` : `[object Null]` : Object.prototype.toString.call(e$1);
|
|
3
3
|
|
|
4
4
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_get_object_tag = require('./get-object-tag.cjs');
|
|
2
2
|
const require_is_plain_object = require('./is-plain-object.cjs');
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-date.mjs
|
|
5
5
|
const n = (n$1) => require_is_plain_object.t(n$1) && require_get_object_tag.e(n$1) == `[object Date]`;
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { e } from "./get-object-tag.mjs";
|
|
2
2
|
import { t } from "./is-plain-object.mjs";
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-date.mjs
|
|
5
5
|
const n = (n$1) => t(n$1) && e(n$1) == `[object Date]`;
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
@@ -5,7 +5,7 @@ const require_is_number = require('./is-number.cjs');
|
|
|
5
5
|
const require_is_symbol = require('./is-symbol.cjs');
|
|
6
6
|
const require_is_undefined = require('./is-undefined.cjs');
|
|
7
7
|
|
|
8
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
8
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-empty.mjs
|
|
9
9
|
const o = (e$3) => {
|
|
10
10
|
try {
|
|
11
11
|
return require_is_undefined.e(e$3) || require_is_null.e(e$3);
|
|
@@ -5,7 +5,7 @@ import { t } from "./is-number.mjs";
|
|
|
5
5
|
import { e as e$1 } from "./is-symbol.mjs";
|
|
6
6
|
import { e as e$2 } from "./is-undefined.mjs";
|
|
7
7
|
|
|
8
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
8
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-empty.mjs
|
|
9
9
|
const o = (e$3) => {
|
|
10
10
|
try {
|
|
11
11
|
return e$2(e$3) || e(e$3);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_get_object_tag = require('./get-object-tag.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-function.mjs
|
|
4
4
|
function t(t$1) {
|
|
5
5
|
return require_get_object_tag.e(t$1) === `[object Function]`;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { e } from "./get-object-tag.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-function.mjs
|
|
4
4
|
function t(t$1) {
|
|
5
5
|
return e(t$1) === `[object Function]`;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_is_object = require('./is-object.cjs');
|
|
2
2
|
const require_is_set = require('./is-set.cjs');
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-non-null-object.mjs
|
|
5
5
|
const n = (n$1) => require_is_set.t(n$1) && require_is_object.s(n$1);
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s } from "./is-object.mjs";
|
|
2
2
|
import { t } from "./is-set.mjs";
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
4
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-non-null-object.mjs
|
|
5
5
|
const n = (n$1) => t(n$1) && s(n$1);
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-null.mjs
|
|
3
3
|
const e = (e$1) => {
|
|
4
4
|
try {
|
|
5
5
|
return e$1 === null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-null.mjs
|
|
2
2
|
const e = (e$1) => {
|
|
3
3
|
try {
|
|
4
4
|
return e$1 === null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-number.mjs
|
|
3
3
|
const t = (e) => {
|
|
4
4
|
try {
|
|
5
5
|
return e instanceof Number || typeof e == `number` || Number(e) === e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-number.mjs
|
|
2
2
|
const t = (e) => {
|
|
3
3
|
try {
|
|
4
4
|
return e instanceof Number || typeof e == `number` || Number(e) === e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_is_plain_object = require('./is-plain-object.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-object.mjs
|
|
4
4
|
const s = (t) => {
|
|
5
5
|
try {
|
|
6
6
|
return typeof t == `object` || !!t && t?.constructor === Object || require_is_plain_object.n(t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n } from "./is-plain-object.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-object.mjs
|
|
4
4
|
const s = (t) => {
|
|
5
5
|
try {
|
|
6
6
|
return typeof t == `object` || !!t && t?.constructor === Object || n(t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_get_object_tag = require('./get-object-tag.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-plain-object.mjs
|
|
4
4
|
const t = (e$1) => typeof e$1 == `object` && !!e$1, n = (n$1) => {
|
|
5
5
|
if (!t(n$1) || require_get_object_tag.e(n$1) !== `[object Object]`) return !1;
|
|
6
6
|
if (Object.getPrototypeOf(n$1) === null) return !0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { e } from "./get-object-tag.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-plain-object.mjs
|
|
4
4
|
const t = (e$1) => typeof e$1 == `object` && !!e$1, n = (n$1) => {
|
|
5
5
|
if (!t(n$1) || e(n$1) !== `[object Object]`) return !1;
|
|
6
6
|
if (Object.getPrototypeOf(n$1) === null) return !0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_is_non_null_object = require('./is-non-null-object.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-set-object.mjs
|
|
4
4
|
const t = (t$1) => {
|
|
5
5
|
try {
|
|
6
6
|
return require_is_non_null_object.n(t$1) && Object.keys(t$1).length > 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n } from "./is-non-null-object.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-set-object.mjs
|
|
4
4
|
const t = (t$1) => {
|
|
5
5
|
try {
|
|
6
6
|
return n(t$1) && Object.keys(t$1).length > 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_is_empty = require('./is-empty.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-set.mjs
|
|
4
4
|
const t = (t$1) => {
|
|
5
5
|
try {
|
|
6
6
|
return !require_is_empty.o(t$1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o } from "./is-empty.mjs";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-set.mjs
|
|
4
4
|
const t = (t$1) => {
|
|
5
5
|
try {
|
|
6
6
|
return !o(t$1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-symbol.mjs
|
|
3
3
|
const e = (e$1) => {
|
|
4
4
|
try {
|
|
5
5
|
return e$1 instanceof Symbol || typeof e$1 == `symbol` || !!e$1 && e$1.constructor === Symbol;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-symbol.mjs
|
|
2
2
|
const e = (e$1) => {
|
|
3
3
|
try {
|
|
4
4
|
return e$1 instanceof Symbol || typeof e$1 == `symbol` || !!e$1 && e$1.constructor === Symbol;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-undefined.mjs
|
|
3
3
|
const e = (e$1) => e$1 === void 0;
|
|
4
4
|
|
|
5
5
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.17/node_modules/@stryke/type-checks/dist/is-undefined.mjs
|
|
2
2
|
const e = (e$1) => e$1 === void 0;
|
|
3
3
|
|
|
4
4
|
//#endregion
|
|
@@ -297,14 +297,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
297
297
|
*/
|
|
298
298
|
configFile?: string;
|
|
299
299
|
/**
|
|
300
|
-
* Should the Powerlines
|
|
300
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
301
301
|
*
|
|
302
302
|
* @remarks
|
|
303
|
-
* This
|
|
303
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
304
304
|
*
|
|
305
305
|
* @defaultValue false
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
autoInstall?: boolean;
|
|
308
308
|
/**
|
|
309
309
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
310
310
|
*
|
|
@@ -297,14 +297,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
297
297
|
*/
|
|
298
298
|
configFile?: string;
|
|
299
299
|
/**
|
|
300
|
-
* Should the Powerlines
|
|
300
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
301
301
|
*
|
|
302
302
|
* @remarks
|
|
303
|
-
* This
|
|
303
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
304
304
|
*
|
|
305
305
|
* @defaultValue false
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
autoInstall?: boolean;
|
|
308
308
|
/**
|
|
309
309
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
310
310
|
*
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./plugin.mjs";
|
|
2
|
-
export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig };
|
|
1
|
+
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./plugin.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-eslint",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.165",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running ESLint on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -101,13 +101,13 @@
|
|
|
101
101
|
"keywords": ["eslint", "powerlines", "storm-software", "powerlines-plugin"],
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@storm-software/config-tools": "^1.188.80",
|
|
104
|
-
"@stryke/fs": "^0.33.
|
|
105
|
-
"@stryke/path": "^0.24.
|
|
104
|
+
"@stryke/fs": "^0.33.30",
|
|
105
|
+
"@stryke/path": "^0.24.3",
|
|
106
106
|
"defu": "^6.1.4",
|
|
107
107
|
"eslint": "^9.39.2",
|
|
108
|
-
"powerlines": "^0.37.
|
|
108
|
+
"powerlines": "^0.37.35"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": { "@types/node": "^24.10.8" },
|
|
111
111
|
"publishConfig": { "access": "public" },
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "65656903e05b8a85e4d46f7449a8c2bd8f90332e"
|
|
113
113
|
}
|
package/dist/helpers/index.d.cts
DELETED
package/dist/helpers/index.d.mts
DELETED
package/dist/types/index.cjs
DELETED
|
File without changes
|
package/dist/types/index.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./plugin.cjs";
|
|
2
|
-
export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig };
|
package/dist/types/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types/plugin.cjs
DELETED
|
File without changes
|
package/dist/types/plugin.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|