@tcy/eslint-rules 1.4.1 → 1.4.3

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.
@@ -265,7 +265,7 @@ export default {
265
265
  <div class='footer quiet pad2 space-top1 center small'>
266
266
  Code coverage generated by
267
267
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
268
- at 2026-04-14T07:53:04.275Z
268
+ at 2026-04-14T13:20:10.835Z
269
269
  </div>
270
270
  <script src="prettify.js"></script>
271
271
  <script>
@@ -58,6 +58,24 @@ BRF:17
58
58
  BRH:0
59
59
  end_of_record
60
60
  TN:
61
+ SF:src/back.js
62
+ FNF:0
63
+ FNH:0
64
+ LF:0
65
+ LH:0
66
+ BRF:0
67
+ BRH:0
68
+ end_of_record
69
+ TN:
70
+ SF:src/client.js
71
+ FNF:0
72
+ FNH:0
73
+ LF:0
74
+ LH:0
75
+ BRF:0
76
+ BRH:0
77
+ end_of_record
78
+ TN:
61
79
  SF:src/decorator-type-enforcement.js
62
80
  FN:1,(anonymous_0)
63
81
  FN:4,(anonymous_1)
@@ -420,8 +438,7 @@ TN:
420
438
  SF:src/index.js
421
439
  FNF:0
422
440
  FNH:0
423
- DA:11,0
424
- LF:1
441
+ LF:0
425
442
  LH:0
426
443
  BRF:0
427
444
  BRH:0
@@ -459,6 +476,15 @@ BRF:8
459
476
  BRH:0
460
477
  end_of_record
461
478
  TN:
479
+ SF:src/plugin.js
480
+ FNF:0
481
+ FNH:0
482
+ LF:0
483
+ LH:0
484
+ BRF:0
485
+ BRH:0
486
+ end_of_record
487
+ TN:
462
488
  SF:src/v-model-name-match.js
463
489
  FN:16,(anonymous_0)
464
490
  FN:18,(anonymous_1)
package/dist/back.d.ts ADDED
@@ -0,0 +1,160 @@
1
+ declare const _default: {
2
+ rules: {
3
+ 'tcy/import-specifiers-per-line': (string | {
4
+ maxSpecifiers: number;
5
+ })[];
6
+ 'tcy/export-specifiers-per-line': string;
7
+ 'tcy/array-elements-per-line': string;
8
+ };
9
+ plugins: {
10
+ tcy: {
11
+ rules: {
12
+ 'import-specifiers-per-line': {
13
+ meta: {
14
+ type: string;
15
+ docs: {
16
+ description: string;
17
+ };
18
+ fixable: string;
19
+ schema: {
20
+ type: string;
21
+ properties: {
22
+ maxSpecifiers: {
23
+ type: string;
24
+ default: number;
25
+ };
26
+ maxLen: {
27
+ type: string;
28
+ default: number;
29
+ };
30
+ };
31
+ additionalProperties: boolean;
32
+ }[];
33
+ };
34
+ create(context: any): {
35
+ ImportDeclaration(node: any): void;
36
+ };
37
+ };
38
+ 'array-elements-per-line': {
39
+ meta: {
40
+ type: string;
41
+ docs: {
42
+ description: string;
43
+ category: string;
44
+ recommended: boolean;
45
+ };
46
+ fixable: string;
47
+ schema: never[];
48
+ };
49
+ create(context: any): {
50
+ ArrayExpression(node: any): void;
51
+ };
52
+ };
53
+ 'export-specifiers-per-line': {
54
+ meta: {
55
+ type: string;
56
+ docs: {
57
+ description: string;
58
+ };
59
+ fixable: string;
60
+ schema: never[];
61
+ };
62
+ create(context: any): {
63
+ ExportNamedDeclaration(node: any): void;
64
+ };
65
+ };
66
+ 'jsx-expression-string-literals': {
67
+ meta: {
68
+ type: string;
69
+ docs: {
70
+ description: string;
71
+ };
72
+ fixable: string;
73
+ schema: never[];
74
+ };
75
+ create(context: any): {
76
+ JSXAttribute(node: any): void;
77
+ };
78
+ };
79
+ 'enforce-tailwind-important': {
80
+ meta: {
81
+ type: string;
82
+ docs: {
83
+ description: string;
84
+ recommended: boolean;
85
+ };
86
+ fixable: string;
87
+ schema: never[];
88
+ messages: {
89
+ missingImportant: string;
90
+ };
91
+ };
92
+ create(context: any): {
93
+ JSXAttribute(node: any): void;
94
+ VariableDeclarator(node: any): void;
95
+ };
96
+ };
97
+ 'v-model-name-match': {
98
+ meta: {
99
+ type: string;
100
+ docs: {
101
+ description: string;
102
+ recommended: boolean;
103
+ };
104
+ schema: never[];
105
+ messages: {
106
+ mismatch: string;
107
+ };
108
+ };
109
+ create(context: any): {
110
+ JSXOpeningElement(node: any): void;
111
+ };
112
+ };
113
+ 'decorator-type-enforcement': {
114
+ meta: {
115
+ type: string;
116
+ docs: {
117
+ description: string;
118
+ category: string;
119
+ recommended: boolean;
120
+ };
121
+ fixable: string;
122
+ schema: never[];
123
+ };
124
+ create(context: any): {
125
+ PropertyDefinition(node: any): void;
126
+ };
127
+ };
128
+ 'vuejs-define-component': {
129
+ meta: {
130
+ type: string;
131
+ docs: {
132
+ description: string;
133
+ recommended: boolean;
134
+ };
135
+ schema: never[];
136
+ };
137
+ create(context: any): {
138
+ ExportDefaultDeclaration(node: any): void;
139
+ };
140
+ };
141
+ 'vuejs-define-workspace': {
142
+ meta: {
143
+ type: string;
144
+ docs: {
145
+ description: string;
146
+ recommended: boolean;
147
+ };
148
+ schema: never[];
149
+ };
150
+ create(context: any): {
151
+ ExportDefaultDeclaration?: undefined;
152
+ } | {
153
+ ExportDefaultDeclaration(node: any): void;
154
+ };
155
+ };
156
+ };
157
+ };
158
+ };
159
+ };
160
+ export default _default;
@@ -0,0 +1,165 @@
1
+ declare const _default: {
2
+ rules: {
3
+ 'tcy/import-specifiers-per-line': (string | {
4
+ maxSpecifiers: number;
5
+ })[];
6
+ 'tcy/export-specifiers-per-line': string;
7
+ 'tcy/array-elements-per-line': string;
8
+ 'tcy/jsx-expression-string-literals': string;
9
+ 'tcy/enforce-tailwind-important': string;
10
+ 'tcy/v-model-name-match': string;
11
+ 'tcy/vuejs-define-component': string;
12
+ 'tcy/vuejs-define-workspace': string;
13
+ };
14
+ plugins: {
15
+ tcy: {
16
+ rules: {
17
+ 'import-specifiers-per-line': {
18
+ meta: {
19
+ type: string;
20
+ docs: {
21
+ description: string;
22
+ };
23
+ fixable: string;
24
+ schema: {
25
+ type: string;
26
+ properties: {
27
+ maxSpecifiers: {
28
+ type: string;
29
+ default: number;
30
+ };
31
+ maxLen: {
32
+ type: string;
33
+ default: number;
34
+ };
35
+ };
36
+ additionalProperties: boolean;
37
+ }[];
38
+ };
39
+ create(context: any): {
40
+ ImportDeclaration(node: any): void;
41
+ };
42
+ };
43
+ 'array-elements-per-line': {
44
+ meta: {
45
+ type: string;
46
+ docs: {
47
+ description: string;
48
+ category: string;
49
+ recommended: boolean;
50
+ };
51
+ fixable: string;
52
+ schema: never[];
53
+ };
54
+ create(context: any): {
55
+ ArrayExpression(node: any): void;
56
+ };
57
+ };
58
+ 'export-specifiers-per-line': {
59
+ meta: {
60
+ type: string;
61
+ docs: {
62
+ description: string;
63
+ };
64
+ fixable: string;
65
+ schema: never[];
66
+ };
67
+ create(context: any): {
68
+ ExportNamedDeclaration(node: any): void;
69
+ };
70
+ };
71
+ 'jsx-expression-string-literals': {
72
+ meta: {
73
+ type: string;
74
+ docs: {
75
+ description: string;
76
+ };
77
+ fixable: string;
78
+ schema: never[];
79
+ };
80
+ create(context: any): {
81
+ JSXAttribute(node: any): void;
82
+ };
83
+ };
84
+ 'enforce-tailwind-important': {
85
+ meta: {
86
+ type: string;
87
+ docs: {
88
+ description: string;
89
+ recommended: boolean;
90
+ };
91
+ fixable: string;
92
+ schema: never[];
93
+ messages: {
94
+ missingImportant: string;
95
+ };
96
+ };
97
+ create(context: any): {
98
+ JSXAttribute(node: any): void;
99
+ VariableDeclarator(node: any): void;
100
+ };
101
+ };
102
+ 'v-model-name-match': {
103
+ meta: {
104
+ type: string;
105
+ docs: {
106
+ description: string;
107
+ recommended: boolean;
108
+ };
109
+ schema: never[];
110
+ messages: {
111
+ mismatch: string;
112
+ };
113
+ };
114
+ create(context: any): {
115
+ JSXOpeningElement(node: any): void;
116
+ };
117
+ };
118
+ 'decorator-type-enforcement': {
119
+ meta: {
120
+ type: string;
121
+ docs: {
122
+ description: string;
123
+ category: string;
124
+ recommended: boolean;
125
+ };
126
+ fixable: string;
127
+ schema: never[];
128
+ };
129
+ create(context: any): {
130
+ PropertyDefinition(node: any): void;
131
+ };
132
+ };
133
+ 'vuejs-define-component': {
134
+ meta: {
135
+ type: string;
136
+ docs: {
137
+ description: string;
138
+ recommended: boolean;
139
+ };
140
+ schema: never[];
141
+ };
142
+ create(context: any): {
143
+ ExportDefaultDeclaration(node: any): void;
144
+ };
145
+ };
146
+ 'vuejs-define-workspace': {
147
+ meta: {
148
+ type: string;
149
+ docs: {
150
+ description: string;
151
+ recommended: boolean;
152
+ };
153
+ schema: never[];
154
+ };
155
+ create(context: any): {
156
+ ExportDefaultDeclaration?: undefined;
157
+ } | {
158
+ ExportDefaultDeclaration(node: any): void;
159
+ };
160
+ };
161
+ };
162
+ };
163
+ };
164
+ };
165
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -1,169 +1,2 @@
1
- export namespace customVueJSComponents {
2
- let rules: {
3
- 'no-restricted-syntax': (string | {
4
- selector: string;
5
- message: string;
6
- })[];
7
- 'no-restricted-imports': (string | {
8
- paths: ({
9
- name: string;
10
- importNames: string[];
11
- message: string;
12
- } | {
13
- name: string;
14
- message: string;
15
- importNames?: undefined;
16
- })[];
17
- })[];
18
- };
19
- }
20
- declare namespace _default {
21
- let rules_1: {
22
- 'import-specifiers-per-line': {
23
- meta: {
24
- type: string;
25
- docs: {
26
- description: string;
27
- };
28
- fixable: string;
29
- schema: {
30
- type: string;
31
- properties: {
32
- maxSpecifiers: {
33
- type: string;
34
- default: number;
35
- };
36
- maxLen: {
37
- type: string;
38
- default: number;
39
- };
40
- };
41
- additionalProperties: boolean;
42
- }[];
43
- };
44
- create(context: any): {
45
- ImportDeclaration(node: any): void;
46
- };
47
- };
48
- 'array-elements-per-line': {
49
- meta: {
50
- type: string;
51
- docs: {
52
- description: string;
53
- category: string;
54
- recommended: boolean;
55
- };
56
- fixable: string;
57
- schema: never[];
58
- };
59
- create(context: any): {
60
- ArrayExpression(node: any): void;
61
- };
62
- };
63
- 'export-specifiers-per-line': {
64
- meta: {
65
- type: string;
66
- docs: {
67
- description: string;
68
- };
69
- fixable: string;
70
- schema: never[];
71
- };
72
- create(context: any): {
73
- ExportNamedDeclaration(node: any): void;
74
- };
75
- };
76
- 'jsx-expression-string-literals': {
77
- meta: {
78
- type: string;
79
- docs: {
80
- description: string;
81
- };
82
- fixable: string;
83
- schema: never[];
84
- };
85
- create(context: any): {
86
- JSXAttribute(node: any): void;
87
- };
88
- };
89
- 'enforce-tailwind-important': {
90
- meta: {
91
- type: string;
92
- docs: {
93
- description: string;
94
- recommended: boolean;
95
- };
96
- fixable: string;
97
- schema: never[];
98
- messages: {
99
- missingImportant: string;
100
- };
101
- };
102
- create(context: any): {
103
- JSXAttribute(node: any): void;
104
- VariableDeclarator(node: any): void;
105
- };
106
- };
107
- 'v-model-name-match': {
108
- meta: {
109
- type: string;
110
- docs: {
111
- description: string;
112
- recommended: boolean;
113
- };
114
- schema: never[];
115
- messages: {
116
- mismatch: string;
117
- };
118
- };
119
- create(context: any): {
120
- JSXOpeningElement(node: any): void;
121
- };
122
- };
123
- 'decorator-type-enforcement': {
124
- meta: {
125
- type: string;
126
- docs: {
127
- description: string;
128
- category: string;
129
- recommended: boolean;
130
- };
131
- fixable: string;
132
- schema: never[];
133
- };
134
- create(context: any): {
135
- PropertyDefinition(node: any): void;
136
- };
137
- };
138
- 'vuejs-define-component': {
139
- meta: {
140
- type: string;
141
- docs: {
142
- description: string;
143
- recommended: boolean;
144
- };
145
- schema: never[];
146
- };
147
- create(context: any): {
148
- ExportDefaultDeclaration(node: any): void;
149
- };
150
- };
151
- 'vuejs-define-workspace': {
152
- meta: {
153
- type: string;
154
- docs: {
155
- description: string;
156
- recommended: boolean;
157
- };
158
- schema: never[];
159
- };
160
- create(context: any): {
161
- ExportDefaultDeclaration?: undefined;
162
- } | {
163
- ExportDefaultDeclaration(node: any): void;
164
- };
165
- };
166
- };
167
- export { rules_1 as rules };
168
- }
169
- export default _default;
1
+ export * as client from "./client.js";
2
+ export * as back from "./back.js";