@kazupon/eslint-plugin 0.2.1 → 0.2.2
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/lib/index.js +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { parseComment } from "@es-joy/jsdoccomment";
|
|
|
2
2
|
|
|
3
3
|
//#region src/utils/constants.ts
|
|
4
4
|
const name = "@kazupon/eslint-plugin";
|
|
5
|
-
const version = "0.2.
|
|
5
|
+
const version = "0.2.2";
|
|
6
6
|
const namespace = "@kazupon";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/utils/rule.ts
|
|
10
|
-
const BLOB_URL = "https://
|
|
10
|
+
const BLOB_URL = "https://eslint-plugin.kazupon.dev/rules";
|
|
11
11
|
function RuleCreator(urlCreator, namespace$1 = "") {
|
|
12
12
|
return function createNamedRule({ meta, name: name$1,...rule$1 }) {
|
|
13
13
|
const ruleId = namespace$1 ? `${namespace$1}/${name$1}` : name$1;
|
|
@@ -26,7 +26,7 @@ function RuleCreator(urlCreator, namespace$1 = "") {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
const createRule = RuleCreator((ruleName) => {
|
|
29
|
-
return `${BLOB_URL}/${ruleName}
|
|
29
|
+
return `${BLOB_URL}/${ruleName}`;
|
|
30
30
|
}, namespace);
|
|
31
31
|
|
|
32
32
|
//#endregion
|