@saasmakers/eslint 0.2.5 → 0.2.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.
Files changed (65) hide show
  1. package/dist/chunks/formatters.cjs +248 -0
  2. package/dist/chunks/formatters.mjs +246 -0
  3. package/dist/chunks/import.cjs +53 -0
  4. package/dist/chunks/import.mjs +51 -0
  5. package/dist/chunks/index.cjs +120 -0
  6. package/dist/chunks/index.mjs +101 -0
  7. package/dist/chunks/index2.cjs +880 -0
  8. package/dist/chunks/index2.mjs +868 -0
  9. package/dist/chunks/index3.cjs +982 -0
  10. package/dist/chunks/index3.mjs +979 -0
  11. package/dist/chunks/index4.cjs +12099 -0
  12. package/dist/chunks/index4.mjs +12077 -0
  13. package/dist/chunks/jsdoc.cjs +38398 -0
  14. package/dist/chunks/jsdoc.mjs +38391 -0
  15. package/dist/chunks/regexp.cjs +18518 -0
  16. package/dist/chunks/regexp.mjs +18511 -0
  17. package/dist/chunks/stylistic.cjs +23935 -0
  18. package/dist/chunks/stylistic.mjs +23932 -0
  19. package/dist/chunks/typescript.cjs +56168 -0
  20. package/dist/chunks/typescript.mjs +56154 -0
  21. package/dist/chunks/unicorn.cjs +82775 -0
  22. package/dist/chunks/unicorn.mjs +82764 -0
  23. package/dist/chunks/vue.cjs +96233 -0
  24. package/dist/chunks/vue.mjs +96220 -0
  25. package/dist/eslint.config.cjs +19 -10874
  26. package/dist/eslint.config.d.cts +3900 -18
  27. package/dist/eslint.config.d.mts +3900 -18
  28. package/dist/eslint.config.d.ts +3900 -18
  29. package/dist/eslint.config.mjs +18 -10852
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.cts +6 -2
  32. package/dist/index.d.mts +6 -2
  33. package/dist/index.d.ts +6 -2
  34. package/dist/index.mjs +1 -1
  35. package/dist/shared/eslint.05nu4VbT.mjs +9 -0
  36. package/dist/shared/eslint.07qTxm9w.mjs +3352 -0
  37. package/dist/shared/eslint.6MAvpL4q.cjs +2141 -0
  38. package/dist/shared/{eslint.CohBuu1-.mjs → eslint.B3ywQ3NK.mjs} +157 -331
  39. package/dist/shared/eslint.BGpVg2tt.cjs +13 -0
  40. package/dist/shared/eslint.BL4sYiVQ.cjs +820 -0
  41. package/dist/shared/eslint.BOOP2x9L.cjs +67 -0
  42. package/dist/shared/eslint.Bf7aat-e.mjs +10 -0
  43. package/dist/shared/eslint.Bh1W2iVQ.cjs +37181 -0
  44. package/dist/shared/eslint.Bl69eiyD.cjs +7073 -0
  45. package/dist/shared/eslint.BtkqW7nC.mjs +818 -0
  46. package/dist/shared/eslint.C12_M0Cw.cjs +9 -0
  47. package/dist/shared/eslint.CMfxPSSy.cjs +14 -0
  48. package/dist/shared/eslint.COweQ1RR.mjs +5 -0
  49. package/dist/shared/eslint.CUi9znUC.mjs +13 -0
  50. package/dist/shared/eslint.Cg6Ty7p7.mjs +2699 -0
  51. package/dist/shared/eslint.CxAZpd0w.cjs +3365 -0
  52. package/dist/shared/eslint.CyJA7jO6.cjs +3813 -0
  53. package/dist/shared/eslint.DDD2xc4l.cjs +25 -0
  54. package/dist/shared/eslint.DI7QBrVD.mjs +6 -0
  55. package/dist/shared/eslint.DUamuDzp.cjs +7 -0
  56. package/dist/shared/eslint.DV_fpPxQ.mjs +3805 -0
  57. package/dist/shared/{eslint.DhFjwkxh.cjs → eslint.Dhg0jKDi.cjs} +167 -330
  58. package/dist/shared/eslint.Difk5awg.mjs +2139 -0
  59. package/dist/shared/eslint.Dlgr3LGM.mjs +7070 -0
  60. package/dist/shared/eslint.DoYGbUIG.cjs +2724 -0
  61. package/dist/shared/eslint.Dprsk9zl.mjs +65 -0
  62. package/dist/shared/eslint.DuJbNenz.mjs +37140 -0
  63. package/dist/shared/eslint.MfgVmFE7.cjs +3054 -0
  64. package/dist/shared/eslint.W7RM7aEw.mjs +3052 -0
  65. package/package.json +2 -1
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index$1 = require('./shared/eslint.DhFjwkxh.cjs');
3
+ const index$1 = require('./shared/eslint.Dhg0jKDi.cjs');
4
4
  require('eslint');
5
5
  require('eslint/use-at-your-own-risk');
6
6
 
package/dist/index.d.cts CHANGED
@@ -1338,7 +1338,7 @@ declare interface TemplateElement extends BaseNode {
1338
1338
  type: AST_NODE_TYPES.TemplateElement;
1339
1339
  tail: boolean;
1340
1340
  value: {
1341
- cooked: string;
1341
+ cooked: string | null;
1342
1342
  raw: string;
1343
1343
  };
1344
1344
  }
@@ -4269,7 +4269,9 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4269
4269
  /**
4270
4270
  * The language options configured for this run
4271
4271
  */
4272
- languageOptions: FlatConfig.LanguageOptions;
4272
+ languageOptions: FlatConfig.LanguageOptions & {
4273
+ parserOptions: FlatConfig.ParserOptions;
4274
+ };
4273
4275
  /**
4274
4276
  * An array of the configured options for this rule.
4275
4277
  * This array does not include the rule severity.
@@ -4277,10 +4279,12 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4277
4279
  options: Options;
4278
4280
  /**
4279
4281
  * The parser options configured for this run
4282
+ * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4280
4283
  */
4281
4284
  parserOptions: Linter.ParserOptions;
4282
4285
  /**
4283
4286
  * The name of the parser from configuration, if in eslintrc (legacy) config.
4287
+ * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4284
4288
  */
4285
4289
  parserPath: string | undefined;
4286
4290
  /**
package/dist/index.d.mts CHANGED
@@ -1338,7 +1338,7 @@ declare interface TemplateElement extends BaseNode {
1338
1338
  type: AST_NODE_TYPES.TemplateElement;
1339
1339
  tail: boolean;
1340
1340
  value: {
1341
- cooked: string;
1341
+ cooked: string | null;
1342
1342
  raw: string;
1343
1343
  };
1344
1344
  }
@@ -4269,7 +4269,9 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4269
4269
  /**
4270
4270
  * The language options configured for this run
4271
4271
  */
4272
- languageOptions: FlatConfig.LanguageOptions;
4272
+ languageOptions: FlatConfig.LanguageOptions & {
4273
+ parserOptions: FlatConfig.ParserOptions;
4274
+ };
4273
4275
  /**
4274
4276
  * An array of the configured options for this rule.
4275
4277
  * This array does not include the rule severity.
@@ -4277,10 +4279,12 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4277
4279
  options: Options;
4278
4280
  /**
4279
4281
  * The parser options configured for this run
4282
+ * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4280
4283
  */
4281
4284
  parserOptions: Linter.ParserOptions;
4282
4285
  /**
4283
4286
  * The name of the parser from configuration, if in eslintrc (legacy) config.
4287
+ * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4284
4288
  */
4285
4289
  parserPath: string | undefined;
4286
4290
  /**
package/dist/index.d.ts CHANGED
@@ -1338,7 +1338,7 @@ declare interface TemplateElement extends BaseNode {
1338
1338
  type: AST_NODE_TYPES.TemplateElement;
1339
1339
  tail: boolean;
1340
1340
  value: {
1341
- cooked: string;
1341
+ cooked: string | null;
1342
1342
  raw: string;
1343
1343
  };
1344
1344
  }
@@ -4269,7 +4269,9 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4269
4269
  /**
4270
4270
  * The language options configured for this run
4271
4271
  */
4272
- languageOptions: FlatConfig.LanguageOptions;
4272
+ languageOptions: FlatConfig.LanguageOptions & {
4273
+ parserOptions: FlatConfig.ParserOptions;
4274
+ };
4273
4275
  /**
4274
4276
  * An array of the configured options for this rule.
4275
4277
  * This array does not include the rule severity.
@@ -4277,10 +4279,12 @@ interface RuleContext<MessageIds extends string, Options extends readonly unknow
4277
4279
  options: Options;
4278
4280
  /**
4279
4281
  * The parser options configured for this run
4282
+ * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4280
4283
  */
4281
4284
  parserOptions: Linter.ParserOptions;
4282
4285
  /**
4283
4286
  * The name of the parser from configuration, if in eslintrc (legacy) config.
4287
+ * @deprecated This was deprecated in ESLint 9 and removed in ESLint 10.
4284
4288
  */
4285
4289
  parserPath: string | undefined;
4286
4290
  /**
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { d as distExports } from './shared/eslint.CohBuu1-.mjs';
1
+ import { d as distExports } from './shared/eslint.B3ywQ3NK.mjs';
2
2
  import 'eslint';
3
3
  import 'eslint/use-at-your-own-risk';
4
4
 
@@ -0,0 +1,9 @@
1
+ import { createRequire } from 'node:module';
2
+
3
+ const require$2 = createRequire(import.meta.url);
4
+ function __require$1() { return require$2("node:fs"); }
5
+
6
+ const require$1 = createRequire(import.meta.url);
7
+ function __require() { return require$1("node:path"); }
8
+
9
+ export { __require$1 as _, __require as a };