@sarj/eslint-plugin 2.1.1 → 2.2.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.d.cts CHANGED
@@ -7,6 +7,9 @@ declare const rules: {
7
7
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
8
8
  name: string;
9
9
  };
10
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
11
+ name: string;
12
+ };
10
13
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
11
14
  ignoreFiles?: readonly string[];
12
15
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -42,6 +45,9 @@ declare const rules: {
42
45
  "prefer-schema-for-api-payload": _typescript_eslint_utils_ts_eslint.RuleModule<"unparsedJsonAccess", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
43
46
  name: string;
44
47
  };
48
+ "prefer-semantic-colors": _typescript_eslint_utils_ts_eslint.RuleModule<"rawPalette" | "arbitraryColor" | "inlineColor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
49
+ name: string;
50
+ };
45
51
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
46
52
  name: string;
47
53
  };
@@ -70,6 +76,9 @@ declare const plugin: {
70
76
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
71
77
  name: string;
72
78
  };
79
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
80
+ name: string;
81
+ };
73
82
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
74
83
  ignoreFiles?: readonly string[];
75
84
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -105,6 +114,9 @@ declare const plugin: {
105
114
  "prefer-schema-for-api-payload": _typescript_eslint_utils_ts_eslint.RuleModule<"unparsedJsonAccess", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
106
115
  name: string;
107
116
  };
117
+ "prefer-semantic-colors": _typescript_eslint_utils_ts_eslint.RuleModule<"rawPalette" | "arbitraryColor" | "inlineColor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
118
+ name: string;
119
+ };
108
120
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
109
121
  name: string;
110
122
  };
@@ -140,6 +152,8 @@ declare const plugin: {
140
152
  "@sarj/no-json-stringify-error": string;
141
153
  "@sarj/no-string-concat-in-loop": string;
142
154
  "@sarj/prefer-discriminated-union": string;
155
+ "@sarj/no-comment-cruft": string;
156
+ "@sarj/prefer-semantic-colors": string;
143
157
  };
144
158
  };
145
159
  strict: {
@@ -163,6 +177,8 @@ declare const plugin: {
163
177
  "@sarj/no-json-stringify-error": string;
164
178
  "@sarj/no-string-concat-in-loop": string;
165
179
  "@sarj/prefer-discriminated-union": string;
180
+ "@sarj/no-comment-cruft": string;
181
+ "@sarj/prefer-semantic-colors": string;
166
182
  };
167
183
  };
168
184
  };
package/dist/index.d.ts CHANGED
@@ -7,6 +7,9 @@ declare const rules: {
7
7
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
8
8
  name: string;
9
9
  };
10
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
11
+ name: string;
12
+ };
10
13
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
11
14
  ignoreFiles?: readonly string[];
12
15
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -42,6 +45,9 @@ declare const rules: {
42
45
  "prefer-schema-for-api-payload": _typescript_eslint_utils_ts_eslint.RuleModule<"unparsedJsonAccess", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
43
46
  name: string;
44
47
  };
48
+ "prefer-semantic-colors": _typescript_eslint_utils_ts_eslint.RuleModule<"rawPalette" | "arbitraryColor" | "inlineColor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
49
+ name: string;
50
+ };
45
51
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
46
52
  name: string;
47
53
  };
@@ -70,6 +76,9 @@ declare const plugin: {
70
76
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
71
77
  name: string;
72
78
  };
79
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
80
+ name: string;
81
+ };
73
82
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
74
83
  ignoreFiles?: readonly string[];
75
84
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -105,6 +114,9 @@ declare const plugin: {
105
114
  "prefer-schema-for-api-payload": _typescript_eslint_utils_ts_eslint.RuleModule<"unparsedJsonAccess", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
106
115
  name: string;
107
116
  };
117
+ "prefer-semantic-colors": _typescript_eslint_utils_ts_eslint.RuleModule<"rawPalette" | "arbitraryColor" | "inlineColor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
118
+ name: string;
119
+ };
108
120
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
109
121
  name: string;
110
122
  };
@@ -140,6 +152,8 @@ declare const plugin: {
140
152
  "@sarj/no-json-stringify-error": string;
141
153
  "@sarj/no-string-concat-in-loop": string;
142
154
  "@sarj/prefer-discriminated-union": string;
155
+ "@sarj/no-comment-cruft": string;
156
+ "@sarj/prefer-semantic-colors": string;
143
157
  };
144
158
  };
145
159
  strict: {
@@ -163,6 +177,8 @@ declare const plugin: {
163
177
  "@sarj/no-json-stringify-error": string;
164
178
  "@sarj/no-string-concat-in-loop": string;
165
179
  "@sarj/prefer-discriminated-union": string;
180
+ "@sarj/no-comment-cruft": string;
181
+ "@sarj/prefer-semantic-colors": string;
166
182
  };
167
183
  };
168
184
  };