@commencis/eslint-plugin 3.0.0 → 3.1.0
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @commencis/eslint-plugin
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- chore: update core dependencies ([#427](https://github.com/Commencis/js-toolkit/pull/427))
|
|
8
|
+
|
|
9
|
+
## 3.0.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix: export paths ([#416](https://github.com/Commencis/js-toolkit/pull/416))
|
|
14
|
+
|
|
3
15
|
## 3.0.0
|
|
4
16
|
|
|
5
17
|
### Major Changes
|
package/dist/index.cjs
CHANGED
|
@@ -23,7 +23,7 @@ function getDocsUrls(ruleName) {
|
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/utils/createRule.ts
|
|
26
|
-
const createRule = _typescript_eslint_utils.ESLintUtils.RuleCreator((name
|
|
26
|
+
const createRule = _typescript_eslint_utils.ESLintUtils.RuleCreator((name) => getDocsUrls(name));
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/utils/getCopyrightText.ts
|
|
@@ -90,7 +90,7 @@ var rules_default = { "copyright-text": copyright_text_default };
|
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region package.json
|
|
92
92
|
var name = "@commencis/eslint-plugin";
|
|
93
|
-
var version = "3.
|
|
93
|
+
var version = "3.1.0";
|
|
94
94
|
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/index.ts
|
package/dist/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ function getDocsUrls(ruleName) {
|
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/utils/createRule.ts
|
|
26
|
-
const createRule = ESLintUtils.RuleCreator((name
|
|
26
|
+
const createRule = ESLintUtils.RuleCreator((name) => getDocsUrls(name));
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/utils/getCopyrightText.ts
|
|
@@ -90,7 +90,7 @@ var rules_default = { "copyright-text": copyright_text_default };
|
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region package.json
|
|
92
92
|
var name = "@commencis/eslint-plugin";
|
|
93
|
-
var version = "3.
|
|
93
|
+
var version = "3.1.0";
|
|
94
94
|
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/index.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commencis/eslint-plugin",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Commencis ESLint plugin",
|
|
5
5
|
"author": "Commencis WEB Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"LICENSE"
|
|
25
25
|
],
|
|
26
26
|
"exports": {
|
|
27
|
-
"types": "./dist/index.d.
|
|
28
|
-
"import": "./dist/index.
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
|
+
"import": "./dist/index.mjs",
|
|
29
29
|
"require": "./dist/index.cjs"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|