@powerlines/plugin-eslint 0.8.680 → 0.8.682
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 → format-message-Dbb_DHov.d.cts} +1 -3
- package/dist/format-message-Dbb_DHov.d.cts.map +1 -0
- package/dist/{format-message-B_YWfyKF.d.mts → format-message-Dbb_DHov.d.mts} +1 -3
- package/dist/format-message-Dbb_DHov.d.mts.map +1 -0
- package/dist/helpers/format-message.cjs +1 -2
- package/dist/helpers/format-message.d.cts +1 -1
- package/dist/helpers/format-message.d.mts +1 -1
- package/dist/helpers/format-message.mjs +1 -2
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.mts +1 -1
- package/dist/index.cjs +4 -5
- package/dist/index.d.cts +1 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -3
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +6 -6
- package/dist/format-message-B_YWfyKF.d.cts.map +0 -1
- package/dist/format-message-B_YWfyKF.d.mts.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/helpers/format-message.d.ts
|
|
2
1
|
declare enum MessageSeverity {
|
|
3
2
|
WARNING = 1,
|
|
4
3
|
ERROR = 2
|
|
@@ -11,6 +10,5 @@ interface LintMessage {
|
|
|
11
10
|
column: number;
|
|
12
11
|
}
|
|
13
12
|
declare function formatMessage(dir: string, messages: LintMessage[], filePath: string): string;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { MessageSeverity as n, formatMessage as r, LintMessage as t };
|
|
16
|
-
//# sourceMappingURL=format-message-
|
|
14
|
+
//# sourceMappingURL=format-message-Dbb_DHov.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-message-Dbb_DHov.d.cts","names":[],"sources":["../src/helpers/format-message.ts"],"mappings":"A,aAqBY;EACV;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA;EACA;;iBAGc,cACd,aACA,UAAU,eACV"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/helpers/format-message.d.ts
|
|
2
1
|
declare enum MessageSeverity {
|
|
3
2
|
WARNING = 1,
|
|
4
3
|
ERROR = 2
|
|
@@ -11,6 +10,5 @@ interface LintMessage {
|
|
|
11
10
|
column: number;
|
|
12
11
|
}
|
|
13
12
|
declare function formatMessage(dir: string, messages: LintMessage[], filePath: string): string;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { MessageSeverity as n, formatMessage as r, LintMessage as t };
|
|
16
|
-
//# sourceMappingURL=format-message-
|
|
14
|
+
//# sourceMappingURL=format-message-Dbb_DHov.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-message-Dbb_DHov.d.mts","names":[],"sources":["../src/helpers/format-message.ts"],"mappings":""}
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
let _stryke_path_find = require("@stryke/path/find");
|
|
3
3
|
let _stryke_path_normalize = require("@stryke/path/normalize");
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// src/helpers/format-message.ts
|
|
6
6
|
let MessageSeverity = /* @__PURE__ */ function(MessageSeverity) {
|
|
7
7
|
MessageSeverity[MessageSeverity["WARNING"] = 1] = "WARNING";
|
|
8
8
|
MessageSeverity[MessageSeverity["ERROR"] = 2] = "ERROR";
|
|
@@ -24,6 +24,5 @@ function formatMessage(dir, messages, filePath) {
|
|
|
24
24
|
return output;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
//#endregion
|
|
28
27
|
exports.MessageSeverity = MessageSeverity;
|
|
29
28
|
exports.formatMessage = formatMessage;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-Dbb_DHov.cjs";
|
|
2
2
|
export { LintMessage, MessageSeverity, formatMessage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-Dbb_DHov.mjs";
|
|
2
2
|
export { LintMessage, MessageSeverity, formatMessage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { relative } from "@stryke/path/find";
|
|
2
2
|
import { correctPath } from "@stryke/path/normalize";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/helpers/format-message.ts
|
|
5
5
|
let MessageSeverity = /* @__PURE__ */ function(MessageSeverity) {
|
|
6
6
|
MessageSeverity[MessageSeverity["WARNING"] = 1] = "WARNING";
|
|
7
7
|
MessageSeverity[MessageSeverity["ERROR"] = 2] = "ERROR";
|
|
@@ -23,6 +23,5 @@ function formatMessage(dir, messages, filePath) {
|
|
|
23
23
|
return output;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
//#endregion
|
|
27
26
|
export { MessageSeverity, formatMessage };
|
|
28
27
|
//# sourceMappingURL=format-message.mjs.map
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_format_message = require(
|
|
2
|
+
const require_helpers_format_message = require("./format-message.cjs");
|
|
3
3
|
|
|
4
4
|
exports.MessageSeverity = require_helpers_format_message.MessageSeverity;
|
|
5
5
|
exports.formatMessage = require_helpers_format_message.formatMessage;
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-Dbb_DHov.cjs";
|
|
2
2
|
export { LintMessage, MessageSeverity, formatMessage };
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "../format-message-Dbb_DHov.mjs";
|
|
2
2
|
export { LintMessage, MessageSeverity, formatMessage };
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_format_message = require(
|
|
3
|
-
require(
|
|
4
|
-
require(
|
|
2
|
+
const require_helpers_format_message = require("./helpers/format-message.cjs");
|
|
3
|
+
require("./helpers/index.cjs");
|
|
4
|
+
require("./types/index.cjs");
|
|
5
5
|
let _stryke_fs_exists = require("@stryke/fs/exists");
|
|
6
6
|
let _stryke_fs_get_parent_path = require("@stryke/fs/get-parent-path");
|
|
7
7
|
let _stryke_fs_package_fns = require("@stryke/fs/package-fns");
|
|
@@ -11,7 +11,7 @@ let _stryke_path_find = require("@stryke/path/find");
|
|
|
11
11
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
12
12
|
let defu = require("defu");
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
// src/index.ts
|
|
15
15
|
/**
|
|
16
16
|
* A Powerlines plugin to lint a project's source code with ESLint.
|
|
17
17
|
*/
|
|
@@ -101,7 +101,6 @@ function plugin(options = {}) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
//#endregion
|
|
105
104
|
exports.MessageSeverity = require_helpers_format_message.MessageSeverity;
|
|
106
105
|
exports.formatMessage = require_helpers_format_message.formatMessage;
|
|
107
106
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "./format-message-
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "./format-message-Dbb_DHov.cjs";
|
|
2
2
|
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig } from "./types/plugin.cjs";
|
|
3
3
|
import "./types/index.cjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
|
-
//#region src/index.d.ts
|
|
6
5
|
declare module "powerlines" {
|
|
7
6
|
interface Config {
|
|
8
7
|
eslint?: ESLintPluginOptions;
|
|
@@ -12,6 +11,5 @@ declare module "powerlines" {
|
|
|
12
11
|
* A Powerlines plugin to lint a project's source code with ESLint.
|
|
13
12
|
*/
|
|
14
13
|
declare function plugin(options?: ESLintPluginOptions): Plugin<ESLintPluginContext>;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, LintMessage, MessageSeverity, formatMessage, plugin };
|
|
17
15
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAqCY;IACR,SAAS;;;;;;iBAOG,OACd,UAAS,sBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "./format-message-
|
|
1
|
+
import { n as MessageSeverity, r as formatMessage, t as LintMessage } from "./format-message-Dbb_DHov.mjs";
|
|
2
2
|
import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig } from "./types/plugin.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import { Plugin } from "powerlines";
|
|
5
|
-
//#region src/index.d.ts
|
|
6
5
|
declare module "powerlines" {
|
|
7
6
|
interface Config {
|
|
8
7
|
eslint?: ESLintPluginOptions;
|
|
@@ -12,6 +11,5 @@ declare module "powerlines" {
|
|
|
12
11
|
* A Powerlines plugin to lint a project's source code with ESLint.
|
|
13
12
|
*/
|
|
14
13
|
declare function plugin(options?: ESLintPluginOptions): Plugin<ESLintPluginContext>;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, LintMessage, MessageSeverity, formatMessage, plugin };
|
|
17
15
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { findFileName } from "@stryke/path/find";
|
|
|
10
10
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
11
11
|
import { defu } from "defu";
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// src/index.ts
|
|
14
14
|
/**
|
|
15
15
|
* A Powerlines plugin to lint a project's source code with ESLint.
|
|
16
16
|
*/
|
|
@@ -100,6 +100,5 @@ function plugin(options = {}) {
|
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
//#endregion
|
|
104
103
|
export { MessageSeverity, formatMessage, plugin };
|
|
105
104
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { ESLint } from "eslint";
|
|
3
3
|
import { LegacyESLint } from "eslint/use-at-your-own-risk";
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
4
|
interface ESLintPluginOptions {
|
|
6
5
|
/**
|
|
7
6
|
* The path to the ESLint configuration file.
|
|
@@ -59,6 +58,5 @@ type ESLintPluginContext<TResolvedConfig extends ESLintPluginResolvedConfig = ES
|
|
|
59
58
|
*/
|
|
60
59
|
eslint: ESLint | LegacyESLint;
|
|
61
60
|
};
|
|
62
|
-
//#endregion
|
|
63
61
|
export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig };
|
|
64
62
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":["FlatESLint"],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":["FlatESLint"],"sources":["../../src/types/plugin.ts"],"mappings":";;;UAwBiB;;;;EAIf;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;;;;EAQA,WAAW,QAAQ,OAAO;;UAGX,+BAA+B;;;;EAI9C;IACE,SAAS;;;UAII,mCAAmC;;;;EAIlD;IACE,QAAQ;;;KAIA,oBACV,wBAAwB,6BACtB,8BACA,cAAc;;;;EAIhB,QAAQA,SAAa"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { ESLint } from "eslint";
|
|
3
3
|
import { LegacyESLint } from "eslint/use-at-your-own-risk";
|
|
4
|
-
//#region src/types/plugin.d.ts
|
|
5
4
|
interface ESLintPluginOptions {
|
|
6
5
|
/**
|
|
7
6
|
* The path to the ESLint configuration file.
|
|
@@ -59,6 +58,5 @@ type ESLintPluginContext<TResolvedConfig extends ESLintPluginResolvedConfig = ES
|
|
|
59
58
|
*/
|
|
60
59
|
eslint: ESLint | LegacyESLint;
|
|
61
60
|
};
|
|
62
|
-
//#endregion
|
|
63
61
|
export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig };
|
|
64
62
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-eslint",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.682",
|
|
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"],
|
|
@@ -117,18 +117,18 @@
|
|
|
117
117
|
"types": "./dist/index.d.cts",
|
|
118
118
|
"files": ["dist/**/*"],
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@storm-software/config-tools": "^1.190.
|
|
120
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
121
121
|
"@stryke/fs": "^0.33.118",
|
|
122
122
|
"@stryke/path": "^0.29.43",
|
|
123
123
|
"@stryke/type-checks": "^0.6.49",
|
|
124
124
|
"defu": "^6.1.7",
|
|
125
|
-
"eslint": "^10.
|
|
126
|
-
"powerlines": "^0.47.
|
|
125
|
+
"eslint": "^10.13.0",
|
|
126
|
+
"powerlines": "^0.47.216"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
129
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
130
130
|
"@types/node": "^25.9.9"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": { "access": "public" },
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
134
134
|
}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-message-B_YWfyKF.d.mts","names":[],"sources":["../src/helpers/format-message.ts"],"mappings":""}
|