@commencis/eslint-plugin 1.1.2 → 1.1.4
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 +16 -0
- package/dist/index.cjs +14 -14
- package/dist/index.js +14 -14
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @commencis/eslint-plugin
|
|
2
2
|
|
|
3
|
+
## 1.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- comply new rules & formatting ([#130](https://github.com/Commencis/js-toolkit/pull/130))
|
|
8
|
+
|
|
9
|
+
## 1.1.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- update dependency: @commencis/eslint-config@1.4.0 ([#120](https://github.com/Commencis/js-toolkit/pull/120))
|
|
14
|
+
|
|
15
|
+
- fix: imports, grouping and lint issues ([#120](https://github.com/Commencis/js-toolkit/pull/120))
|
|
16
|
+
|
|
17
|
+
- update dependency: typescript-eslint@8.13.0 ([#124](https://github.com/Commencis/js-toolkit/pull/124))
|
|
18
|
+
|
|
3
19
|
## 1.1.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -24,8 +24,15 @@ __export(src_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(src_exports);
|
|
26
26
|
|
|
27
|
-
// src/
|
|
28
|
-
var
|
|
27
|
+
// src/configs/all.ts
|
|
28
|
+
var all = {
|
|
29
|
+
"@commencis/copyright-text": "error"
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// src/configs/recommended.ts
|
|
33
|
+
var recommended = {
|
|
34
|
+
"@commencis/copyright-text": "off"
|
|
35
|
+
};
|
|
29
36
|
|
|
30
37
|
// src/constants/copyright.ts
|
|
31
38
|
var DEFAULT_START_YEAR = 2017;
|
|
@@ -41,6 +48,9 @@ var COPYRIGHT_TEXT = `
|
|
|
41
48
|
// src/constants/docsBaseUrl.ts
|
|
42
49
|
var DOCS_BASE_URL = "https://github.com/Commencis/js-toolkit/tree/main/packages/eslint-plugin/docs/rules/";
|
|
43
50
|
|
|
51
|
+
// src/utils/createRule.ts
|
|
52
|
+
var import_utils = require("@typescript-eslint/utils");
|
|
53
|
+
|
|
44
54
|
// src/utils/getDocsUrl.ts
|
|
45
55
|
function getDocsUrls(ruleName) {
|
|
46
56
|
return `${DOCS_BASE_URL}${ruleName}.md`;
|
|
@@ -125,7 +135,7 @@ var rules_default = {
|
|
|
125
135
|
// package.json
|
|
126
136
|
var package_default = {
|
|
127
137
|
name: "@commencis/eslint-plugin",
|
|
128
|
-
version: "1.1.
|
|
138
|
+
version: "1.1.4",
|
|
129
139
|
description: "Commencis ESLint plugin",
|
|
130
140
|
author: "Commencis WEB Team",
|
|
131
141
|
license: "Apache-2.0",
|
|
@@ -159,7 +169,7 @@ var package_default = {
|
|
|
159
169
|
"lint:types": "tsc --noEmit"
|
|
160
170
|
},
|
|
161
171
|
dependencies: {
|
|
162
|
-
"@typescript-eslint/utils": "8.
|
|
172
|
+
"@typescript-eslint/utils": "8.13.0"
|
|
163
173
|
},
|
|
164
174
|
devDependencies: {
|
|
165
175
|
"@commencis/ts-config": "workspace:*",
|
|
@@ -168,16 +178,6 @@ var package_default = {
|
|
|
168
178
|
}
|
|
169
179
|
};
|
|
170
180
|
|
|
171
|
-
// src/configs/all.ts
|
|
172
|
-
var all = {
|
|
173
|
-
"@commencis/copyright-text": "error"
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
// src/configs/recommended.ts
|
|
177
|
-
var recommended = {
|
|
178
|
-
"@commencis/copyright-text": "off"
|
|
179
|
-
};
|
|
180
|
-
|
|
181
181
|
// src/index.ts
|
|
182
182
|
var plugin = {
|
|
183
183
|
meta: {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
// src/
|
|
2
|
-
|
|
1
|
+
// src/configs/all.ts
|
|
2
|
+
var all = {
|
|
3
|
+
"@commencis/copyright-text": "error"
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
// src/configs/recommended.ts
|
|
7
|
+
var recommended = {
|
|
8
|
+
"@commencis/copyright-text": "off"
|
|
9
|
+
};
|
|
3
10
|
|
|
4
11
|
// src/constants/copyright.ts
|
|
5
12
|
var DEFAULT_START_YEAR = 2017;
|
|
@@ -15,6 +22,9 @@ var COPYRIGHT_TEXT = `
|
|
|
15
22
|
// src/constants/docsBaseUrl.ts
|
|
16
23
|
var DOCS_BASE_URL = "https://github.com/Commencis/js-toolkit/tree/main/packages/eslint-plugin/docs/rules/";
|
|
17
24
|
|
|
25
|
+
// src/utils/createRule.ts
|
|
26
|
+
import { ESLintUtils } from "@typescript-eslint/utils";
|
|
27
|
+
|
|
18
28
|
// src/utils/getDocsUrl.ts
|
|
19
29
|
function getDocsUrls(ruleName) {
|
|
20
30
|
return `${DOCS_BASE_URL}${ruleName}.md`;
|
|
@@ -99,7 +109,7 @@ var rules_default = {
|
|
|
99
109
|
// package.json
|
|
100
110
|
var package_default = {
|
|
101
111
|
name: "@commencis/eslint-plugin",
|
|
102
|
-
version: "1.1.
|
|
112
|
+
version: "1.1.4",
|
|
103
113
|
description: "Commencis ESLint plugin",
|
|
104
114
|
author: "Commencis WEB Team",
|
|
105
115
|
license: "Apache-2.0",
|
|
@@ -133,7 +143,7 @@ var package_default = {
|
|
|
133
143
|
"lint:types": "tsc --noEmit"
|
|
134
144
|
},
|
|
135
145
|
dependencies: {
|
|
136
|
-
"@typescript-eslint/utils": "8.
|
|
146
|
+
"@typescript-eslint/utils": "8.13.0"
|
|
137
147
|
},
|
|
138
148
|
devDependencies: {
|
|
139
149
|
"@commencis/ts-config": "workspace:*",
|
|
@@ -142,16 +152,6 @@ var package_default = {
|
|
|
142
152
|
}
|
|
143
153
|
};
|
|
144
154
|
|
|
145
|
-
// src/configs/all.ts
|
|
146
|
-
var all = {
|
|
147
|
-
"@commencis/copyright-text": "error"
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
// src/configs/recommended.ts
|
|
151
|
-
var recommended = {
|
|
152
|
-
"@commencis/copyright-text": "off"
|
|
153
|
-
};
|
|
154
|
-
|
|
155
155
|
// src/index.ts
|
|
156
156
|
var plugin = {
|
|
157
157
|
meta: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commencis/eslint-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Commencis ESLint plugin",
|
|
5
5
|
"author": "Commencis WEB Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"require": "./dist/index.cjs"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@typescript-eslint/utils": "8.
|
|
32
|
+
"@typescript-eslint/utils": "8.13.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"tsup": "8.3.5",
|