@sarj/eslint-plugin 2.2.0 → 2.3.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 +1156 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +1162 -11
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -63,6 +63,24 @@ declare const rules: {
|
|
|
63
63
|
"zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
64
64
|
name: string;
|
|
65
65
|
};
|
|
66
|
+
"no-cors-wildcard-with-credentials": _typescript_eslint_utils_ts_eslint.RuleModule<"corsWildcardWithCredentials", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
"no-fat-try-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"fatTryBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
70
|
+
name: string;
|
|
71
|
+
};
|
|
72
|
+
"no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
73
|
+
name: string;
|
|
74
|
+
};
|
|
75
|
+
"no-template-literal-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noTemplateLiteralInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
81
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
66
84
|
};
|
|
67
85
|
declare const plugin: {
|
|
68
86
|
meta: {
|
|
@@ -132,6 +150,24 @@ declare const plugin: {
|
|
|
132
150
|
"zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
133
151
|
name: string;
|
|
134
152
|
};
|
|
153
|
+
"no-cors-wildcard-with-credentials": _typescript_eslint_utils_ts_eslint.RuleModule<"corsWildcardWithCredentials", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
"no-fat-try-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"fatTryBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
157
|
+
name: string;
|
|
158
|
+
};
|
|
159
|
+
"no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
160
|
+
name: string;
|
|
161
|
+
};
|
|
162
|
+
"no-template-literal-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noTemplateLiteralInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
163
|
+
name: string;
|
|
164
|
+
};
|
|
165
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
166
|
+
name: string;
|
|
167
|
+
};
|
|
168
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
169
|
+
name: string;
|
|
170
|
+
};
|
|
135
171
|
};
|
|
136
172
|
configs: {
|
|
137
173
|
recommended: {
|
|
@@ -154,6 +190,12 @@ declare const plugin: {
|
|
|
154
190
|
"@sarj/prefer-discriminated-union": string;
|
|
155
191
|
"@sarj/no-comment-cruft": string;
|
|
156
192
|
"@sarj/prefer-semantic-colors": string;
|
|
193
|
+
"@sarj/no-fat-try-blocks": string;
|
|
194
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
195
|
+
"@sarj/no-template-literal-in-log": string;
|
|
196
|
+
"@sarj/no-secret-in-log": string;
|
|
197
|
+
"@sarj/single-public-export": string;
|
|
198
|
+
"@sarj/prefer-string-literal-union": string;
|
|
157
199
|
};
|
|
158
200
|
};
|
|
159
201
|
strict: {
|
|
@@ -179,6 +221,12 @@ declare const plugin: {
|
|
|
179
221
|
"@sarj/prefer-discriminated-union": string;
|
|
180
222
|
"@sarj/no-comment-cruft": string;
|
|
181
223
|
"@sarj/prefer-semantic-colors": string;
|
|
224
|
+
"@sarj/no-fat-try-blocks": string;
|
|
225
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
226
|
+
"@sarj/no-template-literal-in-log": string;
|
|
227
|
+
"@sarj/no-secret-in-log": string;
|
|
228
|
+
"@sarj/single-public-export": string;
|
|
229
|
+
"@sarj/prefer-string-literal-union": string;
|
|
182
230
|
};
|
|
183
231
|
};
|
|
184
232
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,24 @@ declare const rules: {
|
|
|
63
63
|
"zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
64
64
|
name: string;
|
|
65
65
|
};
|
|
66
|
+
"no-cors-wildcard-with-credentials": _typescript_eslint_utils_ts_eslint.RuleModule<"corsWildcardWithCredentials", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
"no-fat-try-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"fatTryBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
70
|
+
name: string;
|
|
71
|
+
};
|
|
72
|
+
"no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
73
|
+
name: string;
|
|
74
|
+
};
|
|
75
|
+
"no-template-literal-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noTemplateLiteralInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
81
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
66
84
|
};
|
|
67
85
|
declare const plugin: {
|
|
68
86
|
meta: {
|
|
@@ -132,6 +150,24 @@ declare const plugin: {
|
|
|
132
150
|
"zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
133
151
|
name: string;
|
|
134
152
|
};
|
|
153
|
+
"no-cors-wildcard-with-credentials": _typescript_eslint_utils_ts_eslint.RuleModule<"corsWildcardWithCredentials", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
"no-fat-try-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"fatTryBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
157
|
+
name: string;
|
|
158
|
+
};
|
|
159
|
+
"no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
160
|
+
name: string;
|
|
161
|
+
};
|
|
162
|
+
"no-template-literal-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noTemplateLiteralInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
163
|
+
name: string;
|
|
164
|
+
};
|
|
165
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
166
|
+
name: string;
|
|
167
|
+
};
|
|
168
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
169
|
+
name: string;
|
|
170
|
+
};
|
|
135
171
|
};
|
|
136
172
|
configs: {
|
|
137
173
|
recommended: {
|
|
@@ -154,6 +190,12 @@ declare const plugin: {
|
|
|
154
190
|
"@sarj/prefer-discriminated-union": string;
|
|
155
191
|
"@sarj/no-comment-cruft": string;
|
|
156
192
|
"@sarj/prefer-semantic-colors": string;
|
|
193
|
+
"@sarj/no-fat-try-blocks": string;
|
|
194
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
195
|
+
"@sarj/no-template-literal-in-log": string;
|
|
196
|
+
"@sarj/no-secret-in-log": string;
|
|
197
|
+
"@sarj/single-public-export": string;
|
|
198
|
+
"@sarj/prefer-string-literal-union": string;
|
|
157
199
|
};
|
|
158
200
|
};
|
|
159
201
|
strict: {
|
|
@@ -179,6 +221,12 @@ declare const plugin: {
|
|
|
179
221
|
"@sarj/prefer-discriminated-union": string;
|
|
180
222
|
"@sarj/no-comment-cruft": string;
|
|
181
223
|
"@sarj/prefer-semantic-colors": string;
|
|
224
|
+
"@sarj/no-fat-try-blocks": string;
|
|
225
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
226
|
+
"@sarj/no-template-literal-in-log": string;
|
|
227
|
+
"@sarj/no-secret-in-log": string;
|
|
228
|
+
"@sarj/single-public-export": string;
|
|
229
|
+
"@sarj/prefer-string-literal-union": string;
|
|
182
230
|
};
|
|
183
231
|
};
|
|
184
232
|
};
|