praxis-kit 1.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.
@@ -0,0 +1,84 @@
1
+ import { ESLint } from 'eslint';
2
+ import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
3
+
4
+ type Options$4 = [{
5
+ calleeNames?: string[];
6
+ reportNonLiteral?: boolean;
7
+ }];
8
+ type MessageIds$3 = 'unknownVariantKey' | 'unknownVariantValue' | 'nonLiteralValue';
9
+ declare const noDeadCompound: _typescript_eslint_utils_ts_eslint.RuleModule<MessageIds$3, Options$4, unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
10
+ name: string;
11
+ };
12
+
13
+ type Options$3 = [{
14
+ calleeNames?: string[];
15
+ }];
16
+ declare const noEnforcementWithoutStrict: _typescript_eslint_utils_ts_eslint.RuleModule<"missingStrict", Options$3, unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
17
+ name: string;
18
+ };
19
+
20
+ type Options$2 = [{
21
+ calleeNames?: string[];
22
+ reportNonLiteral?: boolean;
23
+ }];
24
+ type MessageIds$2 = 'unknownDefaultKey' | 'unknownDefaultValue' | 'nonLiteralValue';
25
+ declare const noInvalidDefault: _typescript_eslint_utils_ts_eslint.RuleModule<MessageIds$2, Options$2, unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
26
+ name: string;
27
+ };
28
+
29
+ declare const noInvalidHtmlNesting: _typescript_eslint_utils_ts_eslint.RuleModule<"invalidChild", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
30
+ name: string;
31
+ };
32
+
33
+ declare const noRedundantRole: _typescript_eslint_utils_ts_eslint.RuleModule<"redundantRole", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
34
+ name: string;
35
+ };
36
+
37
+ type Options$1 = [{
38
+ calleeNames?: string[];
39
+ }];
40
+ type MessageIds$1 = 'negativeMin' | 'negativeMax' | 'maxLessThanMin' | 'zeroMax';
41
+ declare const validCardinality: _typescript_eslint_utils_ts_eslint.RuleModule<MessageIds$1, Options$1, unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
42
+ name: string;
43
+ };
44
+
45
+ type Options = [{
46
+ calleeNames?: string[];
47
+ }];
48
+ type MessageIds = 'multipleFirst' | 'multipleLast' | 'minSumExceedsCapacity';
49
+ declare const validChildrenConfig: _typescript_eslint_utils_ts_eslint.RuleModule<MessageIds, Options, unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
50
+ name: string;
51
+ };
52
+
53
+ declare const plugin: {
54
+ meta: {
55
+ name: string;
56
+ version: string;
57
+ };
58
+ rules: ESLint.Plugin["rules"];
59
+ configs: {};
60
+ };
61
+ declare const recommended: {
62
+ readonly name: "@praxis-kit/recommended";
63
+ readonly plugins: {
64
+ readonly '@praxis-kit': {
65
+ meta: {
66
+ name: string;
67
+ version: string;
68
+ };
69
+ rules: ESLint.Plugin["rules"];
70
+ configs: {};
71
+ };
72
+ };
73
+ readonly rules: {
74
+ readonly '@praxis-kit/no-dead-compound': "error";
75
+ readonly '@praxis-kit/no-enforcement-without-strict': "error";
76
+ readonly '@praxis-kit/no-invalid-default': "error";
77
+ readonly '@praxis-kit/no-invalid-html-nesting': "error";
78
+ readonly '@praxis-kit/no-redundant-role': "warn";
79
+ readonly '@praxis-kit/valid-cardinality': "error";
80
+ readonly '@praxis-kit/valid-children-config': "error";
81
+ };
82
+ };
83
+
84
+ export { plugin as default, noDeadCompound, noEnforcementWithoutStrict, noInvalidDefault, noInvalidHtmlNesting, noRedundantRole, plugin, recommended, validCardinality, validChildrenConfig };