@eslint-react/shared 2.7.5-next.5 → 2.7.5-next.7

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.ts CHANGED
@@ -223,7 +223,7 @@ type RegExpLike = {
223
223
  */
224
224
  declare function toRegExp(string: string | unit): RegExpLike;
225
225
  /**
226
- * Checks whether given string is regexp string
226
+ * Check whether given string is regexp string
227
227
  * @param string The string to check
228
228
  * @returns boolean
229
229
  */
@@ -280,12 +280,12 @@ declare const DEFAULT_ESLINT_SETTINGS: {
280
280
  };
281
281
  };
282
282
  /**
283
- * Checks if the provided settings conform to ESLintSettings schema
283
+ * Check if the provided settings conform to ESLintSettings schema
284
284
  * @param settings The settings object to validate
285
285
  */
286
286
  declare function isESLintSettings(settings: unknown): settings is ESLintSettings;
287
287
  /**
288
- * Checks if the provided settings conform to ESLintReactSettings schema
288
+ * Check if the provided settings conform to ESLintReactSettings schema
289
289
  * @param settings The settings object to validate
290
290
  */
291
291
  declare function isESLintReactSettings(settings: unknown): settings is ESLintReactSettings;
package/dist/index.js CHANGED
@@ -189,7 +189,7 @@ function toRegExp(string) {
189
189
  return { test: (s) => s === string };
190
190
  }
191
191
  /**
192
- * Checks whether given string is regexp string
192
+ * Check whether given string is regexp string
193
193
  * @param string The string to check
194
194
  * @returns boolean
195
195
  */
@@ -236,14 +236,14 @@ const DEFAULT_ESLINT_REACT_SETTINGS = {
236
236
  */
237
237
  const DEFAULT_ESLINT_SETTINGS = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
238
238
  /**
239
- * Checks if the provided settings conform to ESLintSettings schema
239
+ * Check if the provided settings conform to ESLintSettings schema
240
240
  * @param settings The settings object to validate
241
241
  */
242
242
  function isESLintSettings(settings) {
243
243
  return ESLintSettingsSchema.safeParse(settings).success;
244
244
  }
245
245
  /**
246
- * Checks if the provided settings conform to ESLintReactSettings schema
246
+ * Check if the provided settings conform to ESLintReactSettings schema
247
247
  * @param settings The settings object to validate
248
248
  */
249
249
  function isESLintReactSettings(settings) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "2.7.5-next.5",
3
+ "version": "2.7.5-next.7",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -33,7 +33,7 @@
33
33
  "@typescript-eslint/utils": "^8.54.0",
34
34
  "ts-pattern": "^5.9.0",
35
35
  "zod": "^3.25.0 || ^4.0.0",
36
- "@eslint-react/eff": "2.7.5-next.5"
36
+ "@eslint-react/eff": "2.7.5-next.7"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@tsconfig/node22": "^22.0.5",