@powerlines/plugin-eslint 0.8.673 → 0.8.674
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/format-message-B_YWfyKF.d.cts +16 -0
- package/dist/format-message-B_YWfyKF.d.cts.map +1 -0
- package/dist/format-message-B_YWfyKF.d.mts +16 -0
- package/dist/format-message-B_YWfyKF.d.mts.map +1 -0
- package/dist/helpers/format-message.d.cts +2 -16
- package/dist/helpers/format-message.d.mts +2 -16
- package/dist/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.mts +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -0
- package/package.json +3 -3
- package/dist/helpers/format-message.d.cts.map +0 -1
- package/dist/helpers/format-message.d.mts.map +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/helpers/format-message.d.ts
|
|
2
|
+
declare enum MessageSeverity {
|
|
3
|
+
WARNING = 1,
|
|
4
|
+
ERROR = 2
|
|
5
|
+
}
|
|
6
|
+
interface LintMessage {
|
|
7
|
+
ruleId: string | null;
|
|
8
|
+
severity: MessageSeverity;
|
|
9
|
+
message: string;
|
|
10
|
+
line: number;
|
|
11
|
+
column: number;
|
|
12
|
+
}
|
|
13
|
+
declare function formatMessage(dir: string, messages: LintMessage[], filePath: string): string;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { MessageSeverity as n, formatMessage as r, LintMessage as t };
|
|
16
|
+
//# sourceMappingURL=format-message-B_YWfyKF.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-message-B_YWfyKF.d.cts","names":[],"sources":["../src/helpers/format-message.ts"],"mappings":";aAqBY;EACV;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA;EACA;;iBAGc,cACd,aACA,UAAU,eACV"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/helpers/format-message.d.ts
|
|
2
|
+
declare enum MessageSeverity {
|
|
3
|
+
WARNING = 1,
|
|
4
|
+
ERROR = 2
|
|
5
|
+
}
|
|
6
|
+
interface LintMessage {
|
|
7
|
+
ruleId: string | null;
|
|
8
|
+
severity: MessageSeverity;
|
|
9
|
+
message: string;
|
|
10
|
+
line: number;
|
|
11
|
+
column: number;
|
|
12
|
+
}
|
|
13
|
+
declare function formatMessage(dir: string, messages: LintMessage[], filePath: string): string;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { MessageSeverity as n, formatMessage as r, LintMessage as t };
|
|
16
|
+
//# sourceMappingURL=format-message-B_YWfyKF.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-message-B_YWfyKF.d.mts","names":[],"sources":["../src/helpers/format-message.ts"],"mappings":""}
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
WARNING = 1,
|
|
4
|
-
ERROR = 2
|
|
5
|
-
}
|
|
6
|
-
interface LintMessage {
|
|
7
|
-
ruleId: string | null;
|
|
8
|
-
severity: MessageSeverity;
|
|
9
|
-
message: string;
|
|
10
|
-
line: number;
|
|
11
|
-
column: number;
|
|
12
|
-
}
|
|
13
|
-
declare function formatMessage(dir: string, messages: LintMessage[], filePath: string): string;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { LintMessage, MessageSeverity, formatMessage };
|
|
16
|
-
//# sourceMappingURL=format-message.d.cts.map
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-B_YWfyKF.cjs";
|
|
2
|
+
export { LintMessage, MessageSeverity, formatMessage };
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
WARNING = 1,
|
|
4
|
-
ERROR = 2
|
|
5
|
-
}
|
|
6
|
-
interface LintMessage {
|
|
7
|
-
ruleId: string | null;
|
|
8
|
-
severity: MessageSeverity;
|
|
9
|
-
message: string;
|
|
10
|
-
line: number;
|
|
11
|
-
column: number;
|
|
12
|
-
}
|
|
13
|
-
declare function formatMessage(dir: string, messages: LintMessage[], filePath: string): string;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { LintMessage, MessageSeverity, formatMessage };
|
|
16
|
-
//# sourceMappingURL=format-message.d.mts.map
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-B_YWfyKF.mjs";
|
|
2
|
+
export { LintMessage, MessageSeverity, formatMessage };
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-B_YWfyKF.cjs";
|
|
2
2
|
export { LintMessage, MessageSeverity, formatMessage };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-B_YWfyKF.mjs";
|
|
2
2
|
export { LintMessage, MessageSeverity, formatMessage };
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
2
|
const require_helpers_format_message = require('./helpers/format-message.cjs');
|
|
3
3
|
require('./helpers/index.cjs');
|
|
4
|
+
require('./types/index.cjs');
|
|
4
5
|
let _stryke_fs_exists = require("@stryke/fs/exists");
|
|
5
6
|
let _stryke_fs_get_parent_path = require("@stryke/fs/get-parent-path");
|
|
6
7
|
let _stryke_fs_package_fns = require("@stryke/fs/package-fns");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "./format-message-B_YWfyKF.cjs";
|
|
2
2
|
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig } from "./types/plugin.cjs";
|
|
3
3
|
import "./types/index.cjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "./format-message-B_YWfyKF.mjs";
|
|
2
2
|
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig } from "./types/plugin.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MessageSeverity, formatMessage } from "./helpers/format-message.mjs";
|
|
2
2
|
import "./helpers/index.mjs";
|
|
3
|
+
import "./types/index.mjs";
|
|
3
4
|
import { existsSync } from "@stryke/fs/exists";
|
|
4
5
|
import { getParentPath } from "@stryke/fs/get-parent-path";
|
|
5
6
|
import { isPackageExists } from "@stryke/fs/package-fns";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-eslint",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.674",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running ESLint on the codebase.",
|
|
6
6
|
"keywords": ["eslint", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
"powerlines": "^0.47.208"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
129
|
+
"@powerlines/plugin-plugin": "^0.12.621",
|
|
130
130
|
"@types/node": "^25.9.5"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": { "access": "public" },
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "a060bb776b719e7628c30f82d4fb4305fbcd1581"
|
|
134
134
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-message.d.cts","names":[],"sources":["../../src/helpers/format-message.ts"],"mappings":";aAqBY;EACV;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA;EACA;;iBAGc,cACd,aACA,UAAU,eACV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-message.d.mts","names":[],"sources":["../../src/helpers/format-message.ts"],"mappings":""}
|