@sarj/eslint-plugin 2.2.0 → 2.3.1
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 +1042 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +1048 -11
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -63,6 +63,21 @@ 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
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
66
81
|
};
|
|
67
82
|
declare const plugin: {
|
|
68
83
|
meta: {
|
|
@@ -132,6 +147,21 @@ declare const plugin: {
|
|
|
132
147
|
"zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
133
148
|
name: string;
|
|
134
149
|
};
|
|
150
|
+
"no-cors-wildcard-with-credentials": _typescript_eslint_utils_ts_eslint.RuleModule<"corsWildcardWithCredentials", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
151
|
+
name: string;
|
|
152
|
+
};
|
|
153
|
+
"no-fat-try-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"fatTryBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
"no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
157
|
+
name: string;
|
|
158
|
+
};
|
|
159
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
160
|
+
name: string;
|
|
161
|
+
};
|
|
162
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
163
|
+
name: string;
|
|
164
|
+
};
|
|
135
165
|
};
|
|
136
166
|
configs: {
|
|
137
167
|
recommended: {
|
|
@@ -154,6 +184,11 @@ declare const plugin: {
|
|
|
154
184
|
"@sarj/prefer-discriminated-union": string;
|
|
155
185
|
"@sarj/no-comment-cruft": string;
|
|
156
186
|
"@sarj/prefer-semantic-colors": string;
|
|
187
|
+
"@sarj/no-fat-try-blocks": string;
|
|
188
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
189
|
+
"@sarj/no-secret-in-log": string;
|
|
190
|
+
"@sarj/single-public-export": string;
|
|
191
|
+
"@sarj/prefer-string-literal-union": string;
|
|
157
192
|
};
|
|
158
193
|
};
|
|
159
194
|
strict: {
|
|
@@ -179,6 +214,11 @@ declare const plugin: {
|
|
|
179
214
|
"@sarj/prefer-discriminated-union": string;
|
|
180
215
|
"@sarj/no-comment-cruft": string;
|
|
181
216
|
"@sarj/prefer-semantic-colors": string;
|
|
217
|
+
"@sarj/no-fat-try-blocks": string;
|
|
218
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
219
|
+
"@sarj/no-secret-in-log": string;
|
|
220
|
+
"@sarj/single-public-export": string;
|
|
221
|
+
"@sarj/prefer-string-literal-union": string;
|
|
182
222
|
};
|
|
183
223
|
};
|
|
184
224
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,21 @@ 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
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
79
|
+
name: string;
|
|
80
|
+
};
|
|
66
81
|
};
|
|
67
82
|
declare const plugin: {
|
|
68
83
|
meta: {
|
|
@@ -132,6 +147,21 @@ declare const plugin: {
|
|
|
132
147
|
"zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
133
148
|
name: string;
|
|
134
149
|
};
|
|
150
|
+
"no-cors-wildcard-with-credentials": _typescript_eslint_utils_ts_eslint.RuleModule<"corsWildcardWithCredentials", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
151
|
+
name: string;
|
|
152
|
+
};
|
|
153
|
+
"no-fat-try-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"fatTryBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
"no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
157
|
+
name: string;
|
|
158
|
+
};
|
|
159
|
+
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
160
|
+
name: string;
|
|
161
|
+
};
|
|
162
|
+
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
163
|
+
name: string;
|
|
164
|
+
};
|
|
135
165
|
};
|
|
136
166
|
configs: {
|
|
137
167
|
recommended: {
|
|
@@ -154,6 +184,11 @@ declare const plugin: {
|
|
|
154
184
|
"@sarj/prefer-discriminated-union": string;
|
|
155
185
|
"@sarj/no-comment-cruft": string;
|
|
156
186
|
"@sarj/prefer-semantic-colors": string;
|
|
187
|
+
"@sarj/no-fat-try-blocks": string;
|
|
188
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
189
|
+
"@sarj/no-secret-in-log": string;
|
|
190
|
+
"@sarj/single-public-export": string;
|
|
191
|
+
"@sarj/prefer-string-literal-union": string;
|
|
157
192
|
};
|
|
158
193
|
};
|
|
159
194
|
strict: {
|
|
@@ -179,6 +214,11 @@ declare const plugin: {
|
|
|
179
214
|
"@sarj/prefer-discriminated-union": string;
|
|
180
215
|
"@sarj/no-comment-cruft": string;
|
|
181
216
|
"@sarj/prefer-semantic-colors": string;
|
|
217
|
+
"@sarj/no-fat-try-blocks": string;
|
|
218
|
+
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
219
|
+
"@sarj/no-secret-in-log": string;
|
|
220
|
+
"@sarj/single-public-export": string;
|
|
221
|
+
"@sarj/prefer-string-literal-union": string;
|
|
182
222
|
};
|
|
183
223
|
};
|
|
184
224
|
};
|