eslint-plugin-ore-ui 1.0.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/dist/index.cjs ADDED
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ const _package = require("../package.json");
3
+ const noImportAttributesPlugin = require("eslint-plugin-no-import-attributes");
4
+ const noIllegalConstructors = require("./rules/no-illegal-constructors.cjs");
5
+ const noCriticallyBugged = require("./rules/no-critically-bugged.cjs");
6
+ const noRegexUnicodeProperties = require("./rules/no-regex-unicode-properties.cjs");
7
+ const noRegexVFlag = require("./rules/no-regex-v-flag.cjs");
8
+ const noUsingKeyword = require("./rules/no-using-keyword.cjs");
9
+ const noBugged = require("./rules/no-bugged.cjs");
10
+ const rules = {
11
+ "no-illegal-constructors": noIllegalConstructors,
12
+ "no-bugged": noBugged,
13
+ "no-critically-bugged": noCriticallyBugged,
14
+ "no-regex-unicode-properties": noRegexUnicodeProperties,
15
+ "no-regex-v-flag": noRegexVFlag,
16
+ "no-using-keyword": noUsingKeyword,
17
+ };
18
+ const pluginBase = {
19
+ meta: {
20
+ name: _package.name,
21
+ version: _package.version,
22
+ namespace: "ore-ui",
23
+ },
24
+ rules,
25
+ };
26
+ const pluginConfigs = {
27
+ recommended: {
28
+ plugins: ["no-import-attributes", "ore-ui"],
29
+ rules: {
30
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."],
31
+ "ore-ui/no-illegal-constructors": "off",
32
+ "ore-ui/no-bugged": "off",
33
+ "ore-ui/no-critically-bugged": "off",
34
+ "ore-ui/no-regex-unicode-properties": "warn",
35
+ "ore-ui/no-regex-v-flag": "error",
36
+ "ore-ui/no-using-keyword": "error",
37
+ },
38
+ },
39
+ "flat/recommended": {
40
+ name: "ore-ui/recommended",
41
+ plugins: {
42
+ "ore-ui": pluginBase,
43
+ "no-import-attributes": noImportAttributesPlugin,
44
+ },
45
+ rules: {
46
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."],
47
+ "ore-ui/no-illegal-constructors": "off",
48
+ "ore-ui/no-bugged": "off",
49
+ "ore-ui/no-critically-bugged": "off",
50
+ "ore-ui/no-regex-unicode-properties": "warn",
51
+ "ore-ui/no-regex-v-flag": "error",
52
+ "ore-ui/no-using-keyword": "error",
53
+ },
54
+ },
55
+ "recommended-type-checked": {
56
+ plugins: ["no-import-attributes", "ore-ui"],
57
+ rules: {
58
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."],
59
+ "ore-ui/no-illegal-constructors": "error",
60
+ "ore-ui/no-bugged": "warn",
61
+ "ore-ui/no-critically-bugged": "error",
62
+ "ore-ui/no-regex-unicode-properties": "warn",
63
+ "ore-ui/no-regex-v-flag": "error",
64
+ "ore-ui/no-using-keyword": "error",
65
+ },
66
+ },
67
+ "flat/recommended-type-checked": {
68
+ name: "ore-ui/recommended-type-checked",
69
+ plugins: {
70
+ "ore-ui": pluginBase,
71
+ "no-import-attributes": noImportAttributesPlugin,
72
+ },
73
+ rules: {
74
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."],
75
+ "ore-ui/no-illegal-constructors": "error",
76
+ "ore-ui/no-bugged": "warn",
77
+ "ore-ui/no-critically-bugged": "error",
78
+ "ore-ui/no-regex-unicode-properties": "warn",
79
+ "ore-ui/no-regex-v-flag": "error",
80
+ "ore-ui/no-using-keyword": "error",
81
+ },
82
+ },
83
+ "disable-type-checked": {
84
+ rules: {
85
+ "ore-ui/no-illegal-constructors": "off",
86
+ "ore-ui/no-bugged": "off",
87
+ "ore-ui/no-critically-bugged": "off",
88
+ },
89
+ },
90
+ "flat/disable-type-checked": {
91
+ name: "ore-ui/disable-type-checked",
92
+ rules: {
93
+ "ore-ui/no-illegal-constructors": "off",
94
+ "ore-ui/no-bugged": "off",
95
+ "ore-ui/no-critically-bugged": "off",
96
+ },
97
+ },
98
+ };
99
+ const extractedFlatConfigs = Object.fromEntries(Object.entries(pluginConfigs)
100
+ .filter(([name]) => name.startsWith("flat/"))
101
+ .map(([name, config]) => [name.slice(5), config]));
102
+ function camelCase(input) {
103
+ return input
104
+ .split("-")
105
+ .map((segment, index) => (index === 0 ? segment : segment.charAt(0).toUpperCase() + segment.slice(1)))
106
+ .join("");
107
+ }
108
+ const flatConfigs = Object.fromEntries(Object.entries(extractedFlatConfigs).map(([name, config]) => [camelCase(name), config]));
109
+ const plugin = {
110
+ ...pluginBase,
111
+ configs: pluginConfigs,
112
+ flatConfigs,
113
+ // flatConfigs: flatConfigs as { [config in keyof typeof flatConfigs]: ConfigObject<(typeof flatConfigs)[config]["rules"]> },
114
+ };
115
+ Object.values(extractedFlatConfigs).forEach((config) => {
116
+ if (!("plugins" in config) || !config.plugins || !("ore-ui" in config.plugins))
117
+ return;
118
+ config.plugins["ore-ui"] = plugin;
119
+ });
120
+ module.exports = plugin;
121
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.cts"],"names":[],"mappings":";AACA,4CAA6C;AAC7C,+EAAgF;AAChF,6EAA8E;AAC9E,uEAAwE;AACxE,oFAAqF;AACrF,4DAA6D;AAC7D,+DAAgE;AAChE,kDAAmD;AAMnD,MAAM,KAAK,GAAG;IACV,yBAAyB,EAAE,qBAAyE;IACpG,WAAW,EAAE,QAA+C;IAC5D,sBAAsB,EAAE,kBAAmE;IAC3F,6BAA6B,EAAE,wBAAwB;IACvD,iBAAiB,EAAE,YAAY;IAC/B,kBAAkB,EAAE,cAAc;CACJ,CAAC;AAEnC,MAAM,UAAU,GAAG;IACf,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,SAAS,EAAE,QAAiB;KAC/B;IACD,KAAK;CACgB,CAAC;AAE1B,MAAM,aAAa,GAAG;IAClB,WAAW,EAAE;QACT,OA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E,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAE7H,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,GAAG,UAAU;IACb,OAAO,EAAE,aAAa;IACtB,WAAW;IACX,6HAA6H;CAC3E,CAAC;AAEvD,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;IACnD,IAAI,CAAC,CAAC,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC,QAAQ,IAAI,MAAM,CAAC,OAAO,CAAC;QAAE,OAAO;IACvF,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;AACtC,CAAC,CAAC,CAAC;AAEH,iBAAS,MAAM,CAAC"}
@@ -0,0 +1,274 @@
1
+ import type { ESLint } from "eslint";
2
+ import noImportAttributesPlugin = require("eslint-plugin-no-import-attributes");
3
+ import noIllegalConstructors = require("./rules/no-illegal-constructors.cts");
4
+ import noCriticallyBugged = require("./rules/no-critically-bugged.cts");
5
+ import noBugged = require("./rules/no-bugged.cts");
6
+ type CompatibleRuleType<T extends import("@typescript-eslint/utils/eslint-utils").RuleModule<any, any, any, any>> = T & {
7
+ create(content: import("@eslint/core").RuleContext | Parameters<T["create"]>[0]): ReturnType<T["create"]> & import("eslint").Rule.RuleListener;
8
+ };
9
+ declare const pluginBase: {
10
+ meta: {
11
+ name: string;
12
+ version: string;
13
+ namespace: "ore-ui";
14
+ };
15
+ rules: {
16
+ "no-illegal-constructors": CompatibleRuleType<typeof noIllegalConstructors>;
17
+ "no-bugged": CompatibleRuleType<typeof noBugged>;
18
+ "no-critically-bugged": CompatibleRuleType<typeof noCriticallyBugged>;
19
+ "no-regex-unicode-properties": {
20
+ meta: {
21
+ type: "problem";
22
+ docs: {
23
+ description: string;
24
+ recommended: boolean;
25
+ };
26
+ messages: {
27
+ noSupportedUnicodePropertyIdentifiers: string;
28
+ };
29
+ };
30
+ create(context: import("eslint").Rule.RuleContext): {
31
+ Literal(node: (import("estree").SimpleLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").RegExpLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").BigIntLiteral & import("eslint").Rule.NodeParentExtension)): void;
32
+ };
33
+ };
34
+ "no-regex-v-flag": {
35
+ meta: {
36
+ type: "problem";
37
+ docs: {
38
+ description: string;
39
+ recommended: boolean;
40
+ };
41
+ messages: {
42
+ regexVFlagUnsupported: string;
43
+ };
44
+ };
45
+ create(context: import("eslint").Rule.RuleContext): {
46
+ Literal(node: (import("estree").SimpleLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").RegExpLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").BigIntLiteral & import("eslint").Rule.NodeParentExtension)): void;
47
+ };
48
+ };
49
+ "no-using-keyword": {
50
+ meta: {
51
+ type: "problem";
52
+ docs: {
53
+ description: string;
54
+ recommended: boolean;
55
+ };
56
+ schema: {
57
+ type: "object";
58
+ additionalProperties: false;
59
+ properties: {
60
+ allow: {
61
+ type: "array";
62
+ items: {
63
+ type: "string";
64
+ enum: string[];
65
+ };
66
+ description: string;
67
+ };
68
+ };
69
+ }[];
70
+ defaultOptions: {
71
+ allow: never[];
72
+ }[];
73
+ messages: {
74
+ usingKeywordUnsupported: string;
75
+ awaitUsingVariableDeclarationsUnsupported: string;
76
+ };
77
+ };
78
+ create(context: import("eslint").Rule.RuleContext): {
79
+ VariableDeclaration(node: import("estree").VariableDeclaration & import("eslint").Rule.NodeParentExtension): void;
80
+ };
81
+ };
82
+ };
83
+ };
84
+ declare const plugin: {
85
+ configs: {
86
+ recommended: {
87
+ plugins: string[];
88
+ rules: {
89
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."];
90
+ "ore-ui/no-illegal-constructors": "off";
91
+ "ore-ui/no-bugged": "off";
92
+ "ore-ui/no-critically-bugged": "off";
93
+ "ore-ui/no-regex-unicode-properties": "warn";
94
+ "ore-ui/no-regex-v-flag": "error";
95
+ "ore-ui/no-using-keyword": "error";
96
+ };
97
+ };
98
+ "flat/recommended": {
99
+ name: "ore-ui/recommended";
100
+ plugins: {
101
+ "ore-ui": typeof pluginBase & ESLint.Plugin;
102
+ "no-import-attributes": typeof noImportAttributesPlugin;
103
+ };
104
+ rules: {
105
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."];
106
+ "ore-ui/no-illegal-constructors": "off";
107
+ "ore-ui/no-bugged": "off";
108
+ "ore-ui/no-critically-bugged": "off";
109
+ "ore-ui/no-regex-unicode-properties": "warn";
110
+ "ore-ui/no-regex-v-flag": "error";
111
+ "ore-ui/no-using-keyword": "error";
112
+ };
113
+ };
114
+ "recommended-type-checked": {
115
+ plugins: string[];
116
+ rules: {
117
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."];
118
+ "ore-ui/no-illegal-constructors": "error";
119
+ "ore-ui/no-bugged": "warn";
120
+ "ore-ui/no-critically-bugged": "error";
121
+ "ore-ui/no-regex-unicode-properties": "warn";
122
+ "ore-ui/no-regex-v-flag": "error";
123
+ "ore-ui/no-using-keyword": "error";
124
+ };
125
+ };
126
+ "flat/recommended-type-checked": {
127
+ name: "ore-ui/recommended-type-checked";
128
+ plugins: {
129
+ "ore-ui": typeof pluginBase & ESLint.Plugin;
130
+ "no-import-attributes": typeof noImportAttributesPlugin;
131
+ };
132
+ rules: {
133
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."];
134
+ "ore-ui/no-illegal-constructors": "error";
135
+ "ore-ui/no-bugged": "warn";
136
+ "ore-ui/no-critically-bugged": "error";
137
+ "ore-ui/no-regex-unicode-properties": "warn";
138
+ "ore-ui/no-regex-v-flag": "error";
139
+ "ore-ui/no-using-keyword": "error";
140
+ };
141
+ };
142
+ "disable-type-checked": {
143
+ rules: {
144
+ "ore-ui/no-illegal-constructors": "off";
145
+ "ore-ui/no-bugged": "off";
146
+ "ore-ui/no-critically-bugged": "off";
147
+ };
148
+ };
149
+ "flat/disable-type-checked": {
150
+ name: "ore-ui/disable-type-checked";
151
+ rules: {
152
+ "ore-ui/no-illegal-constructors": "off";
153
+ "ore-ui/no-bugged": "off";
154
+ "ore-ui/no-critically-bugged": "off";
155
+ };
156
+ };
157
+ };
158
+ flatConfigs: {
159
+ recommended: {
160
+ name: "ore-ui/recommended";
161
+ plugins: {
162
+ "ore-ui": typeof pluginBase & ESLint.Plugin;
163
+ "no-import-attributes": typeof noImportAttributesPlugin;
164
+ };
165
+ rules: {
166
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."];
167
+ "ore-ui/no-illegal-constructors": "off";
168
+ "ore-ui/no-bugged": "off";
169
+ "ore-ui/no-critically-bugged": "off";
170
+ "ore-ui/no-regex-unicode-properties": "warn";
171
+ "ore-ui/no-regex-v-flag": "error";
172
+ "ore-ui/no-using-keyword": "error";
173
+ };
174
+ };
175
+ recommendedTypeChecked: {
176
+ name: "ore-ui/recommended-type-checked";
177
+ plugins: {
178
+ "ore-ui": typeof pluginBase & ESLint.Plugin;
179
+ "no-import-attributes": typeof noImportAttributesPlugin;
180
+ };
181
+ rules: {
182
+ "no-import-attributes/no-import-attributes": ["error", "Import attributes are not supported by CoHTML (Ore UI)."];
183
+ "ore-ui/no-illegal-constructors": "error";
184
+ "ore-ui/no-bugged": "warn";
185
+ "ore-ui/no-critically-bugged": "error";
186
+ "ore-ui/no-regex-unicode-properties": "warn";
187
+ "ore-ui/no-regex-v-flag": "error";
188
+ "ore-ui/no-using-keyword": "error";
189
+ };
190
+ };
191
+ disableTypeChecked: {
192
+ name: "ore-ui/disable-type-checked";
193
+ rules: {
194
+ "ore-ui/no-illegal-constructors": "off";
195
+ "ore-ui/no-bugged": "off";
196
+ "ore-ui/no-critically-bugged": "off";
197
+ };
198
+ };
199
+ };
200
+ meta: {
201
+ name: string;
202
+ version: string;
203
+ namespace: "ore-ui";
204
+ };
205
+ rules: {
206
+ "no-illegal-constructors": CompatibleRuleType<typeof noIllegalConstructors>;
207
+ "no-bugged": CompatibleRuleType<typeof noBugged>;
208
+ "no-critically-bugged": CompatibleRuleType<typeof noCriticallyBugged>;
209
+ "no-regex-unicode-properties": {
210
+ meta: {
211
+ type: "problem";
212
+ docs: {
213
+ description: string;
214
+ recommended: boolean;
215
+ };
216
+ messages: {
217
+ noSupportedUnicodePropertyIdentifiers: string;
218
+ };
219
+ };
220
+ create(context: import("eslint").Rule.RuleContext): {
221
+ Literal(node: (import("estree").SimpleLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").RegExpLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").BigIntLiteral & import("eslint").Rule.NodeParentExtension)): void;
222
+ };
223
+ };
224
+ "no-regex-v-flag": {
225
+ meta: {
226
+ type: "problem";
227
+ docs: {
228
+ description: string;
229
+ recommended: boolean;
230
+ };
231
+ messages: {
232
+ regexVFlagUnsupported: string;
233
+ };
234
+ };
235
+ create(context: import("eslint").Rule.RuleContext): {
236
+ Literal(node: (import("estree").SimpleLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").RegExpLiteral & import("eslint").Rule.NodeParentExtension) | (import("estree").BigIntLiteral & import("eslint").Rule.NodeParentExtension)): void;
237
+ };
238
+ };
239
+ "no-using-keyword": {
240
+ meta: {
241
+ type: "problem";
242
+ docs: {
243
+ description: string;
244
+ recommended: boolean;
245
+ };
246
+ schema: {
247
+ type: "object";
248
+ additionalProperties: false;
249
+ properties: {
250
+ allow: {
251
+ type: "array";
252
+ items: {
253
+ type: "string";
254
+ enum: string[];
255
+ };
256
+ description: string;
257
+ };
258
+ };
259
+ }[];
260
+ defaultOptions: {
261
+ allow: never[];
262
+ }[];
263
+ messages: {
264
+ usingKeywordUnsupported: string;
265
+ awaitUsingVariableDeclarationsUnsupported: string;
266
+ };
267
+ };
268
+ create(context: import("eslint").Rule.RuleContext): {
269
+ VariableDeclaration(node: import("estree").VariableDeclaration & import("eslint").Rule.NodeParentExtension): void;
270
+ };
271
+ };
272
+ };
273
+ };
274
+ export = plugin;