@pobammer-ts/eslint-cease-nonsense-rules 1.5.3 → 1.7.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.
Files changed (79) hide show
  1. package/README.md +594 -505
  2. package/dist/build-metadata.json +3 -3
  3. package/dist/index.d.ts +7 -1
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +1374 -436
  6. package/dist/index.js.map +41 -35
  7. package/dist/oxfmt-sync.d.ts +4 -0
  8. package/dist/oxfmt-sync.d.ts.map +1 -0
  9. package/dist/oxfmt-worker.d.ts +12 -0
  10. package/dist/oxfmt-worker.d.ts.map +1 -0
  11. package/dist/oxfmt-worker.js +172786 -0
  12. package/dist/oxfmt-worker.js.map +27 -0
  13. package/dist/recognizers/camel-case-detector.d.ts +2 -2
  14. package/dist/recognizers/camel-case-detector.d.ts.map +1 -0
  15. package/dist/recognizers/code-recognizer.d.ts +6 -6
  16. package/dist/recognizers/code-recognizer.d.ts.map +1 -0
  17. package/dist/recognizers/contains-detector.d.ts +2 -2
  18. package/dist/recognizers/contains-detector.d.ts.map +1 -0
  19. package/dist/recognizers/detector.d.ts +3 -4
  20. package/dist/recognizers/detector.d.ts.map +1 -0
  21. package/dist/recognizers/end-with-detector.d.ts +2 -2
  22. package/dist/recognizers/end-with-detector.d.ts.map +1 -0
  23. package/dist/recognizers/javascript-footprint.d.ts +2 -2
  24. package/dist/recognizers/javascript-footprint.d.ts.map +1 -0
  25. package/dist/recognizers/keywords-detector.d.ts +2 -2
  26. package/dist/recognizers/keywords-detector.d.ts.map +1 -0
  27. package/dist/rules/ban-instances.d.ts +1 -0
  28. package/dist/rules/ban-instances.d.ts.map +1 -0
  29. package/dist/rules/ban-react-fc.d.ts +1 -0
  30. package/dist/rules/ban-react-fc.d.ts.map +1 -0
  31. package/dist/rules/enforce-ianitor-check-type.d.ts +2 -1
  32. package/dist/rules/enforce-ianitor-check-type.d.ts.map +1 -0
  33. package/dist/rules/fast-format.d.ts +36 -0
  34. package/dist/rules/fast-format.d.ts.map +1 -0
  35. package/dist/rules/no-async-constructor.d.ts +1 -0
  36. package/dist/rules/no-async-constructor.d.ts.map +1 -0
  37. package/dist/rules/no-color3-constructor.d.ts +1 -0
  38. package/dist/rules/no-color3-constructor.d.ts.map +1 -0
  39. package/dist/rules/no-commented-code.d.ts +1 -0
  40. package/dist/rules/no-commented-code.d.ts.map +1 -0
  41. package/dist/rules/no-god-components.d.ts +14 -0
  42. package/dist/rules/no-god-components.d.ts.map +1 -0
  43. package/dist/rules/no-identity-map.d.ts +9 -0
  44. package/dist/rules/no-identity-map.d.ts.map +1 -0
  45. package/dist/rules/no-instance-methods-without-this.d.ts +1 -0
  46. package/dist/rules/no-instance-methods-without-this.d.ts.map +1 -0
  47. package/dist/rules/no-print.d.ts +1 -0
  48. package/dist/rules/no-print.d.ts.map +1 -0
  49. package/dist/rules/no-shorthand-names.d.ts +1 -0
  50. package/dist/rules/no-shorthand-names.d.ts.map +1 -0
  51. package/dist/rules/no-useless-use-spring.d.ts +1 -0
  52. package/dist/rules/no-useless-use-spring.d.ts.map +1 -0
  53. package/dist/rules/no-warn.d.ts +1 -0
  54. package/dist/rules/no-warn.d.ts.map +1 -0
  55. package/dist/rules/prefer-sequence-overloads.d.ts +1 -0
  56. package/dist/rules/prefer-sequence-overloads.d.ts.map +1 -0
  57. package/dist/rules/prefer-udim2-shorthand.d.ts +1 -0
  58. package/dist/rules/prefer-udim2-shorthand.d.ts.map +1 -0
  59. package/dist/rules/require-named-effect-functions.d.ts +4 -3
  60. package/dist/rules/require-named-effect-functions.d.ts.map +1 -0
  61. package/dist/rules/require-paired-calls.d.ts +1 -0
  62. package/dist/rules/require-paired-calls.d.ts.map +1 -0
  63. package/dist/rules/require-react-component-keys.d.ts +1 -0
  64. package/dist/rules/require-react-component-keys.d.ts.map +1 -0
  65. package/dist/rules/use-exhaustive-dependencies.d.ts +1 -0
  66. package/dist/rules/use-exhaustive-dependencies.d.ts.map +1 -0
  67. package/dist/rules/use-hook-at-top-level.d.ts +1 -0
  68. package/dist/rules/use-hook-at-top-level.d.ts.map +1 -0
  69. package/dist/types/oxfmt.d.ts +88 -0
  70. package/dist/types/oxfmt.d.ts.map +1 -0
  71. package/dist/{configure-utilities.d.ts → utilities/configure-utilities.d.ts} +18 -10
  72. package/dist/utilities/configure-utilities.d.ts.map +1 -0
  73. package/dist/utilities/error-utilities.d.ts +25 -0
  74. package/dist/utilities/error-utilities.d.ts.map +1 -0
  75. package/dist/utilities/format-utilities.d.ts +20 -0
  76. package/dist/utilities/format-utilities.d.ts.map +1 -0
  77. package/dist/utilities/typebox-utilities.d.ts +4 -0
  78. package/dist/utilities/typebox-utilities.d.ts.map +1 -0
  79. package/package.json +32 -19
@@ -6,5 +6,5 @@ import type { Detector } from "./detector";
6
6
  * @param probability - Base probability (0-1)
7
7
  * @returns Detector instance
8
8
  */
9
- declare function createCamelCaseDetector(probability: number): Detector;
10
- export { createCamelCaseDetector };
9
+ export declare function createCamelCaseDetector(probability: number): Detector;
10
+ //# sourceMappingURL=camel-case-detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camel-case-detector.d.ts","sourceRoot":"","sources":["../../src/recognizers/camel-case-detector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,CAiBrE"}
@@ -1,5 +1,5 @@
1
- import { type Detector } from "./detector";
2
- declare const PROBABILITY_THRESHOLD = 0.9;
1
+ import type { Detector } from "./detector";
2
+ export declare const PROBABILITY_THRESHOLD = 0.9;
3
3
  /**
4
4
  * Calculate combined probability that a line contains code.
5
5
  * Uses: p = 1 - (1-p1)(1-p2)...(1-pn)
@@ -8,7 +8,7 @@ declare const PROBABILITY_THRESHOLD = 0.9;
8
8
  * @param line - The line to analyze
9
9
  * @returns Combined probability between 0 and 1
10
10
  */
11
- declare function computeProbability(detectors: ReadonlyArray<Detector>, line: string): number;
11
+ export declare function computeProbability(detectors: ReadonlyArray<Detector>, line: string): number;
12
12
  /**
13
13
  * Check if a line is likely code based on threshold.
14
14
  *
@@ -16,7 +16,7 @@ declare function computeProbability(detectors: ReadonlyArray<Detector>, line: st
16
16
  * @param line - The line to check
17
17
  * @returns True if probability >= threshold
18
18
  */
19
- declare function isLikelyCode(detectors: ReadonlyArray<Detector>, line: string): boolean;
19
+ export declare function isLikelyCode(detectors: ReadonlyArray<Detector>, line: string): boolean;
20
20
  /**
21
21
  * Check if any line in the array is likely code.
22
22
  *
@@ -24,5 +24,5 @@ declare function isLikelyCode(detectors: ReadonlyArray<Detector>, line: string):
24
24
  * @param lines - Array of lines to check
25
25
  * @returns True if at least one line meets the threshold
26
26
  */
27
- declare function hasCodeLines(detectors: ReadonlyArray<Detector>, lines: ReadonlyArray<string>): boolean;
28
- export { computeProbability, hasCodeLines, isLikelyCode, PROBABILITY_THRESHOLD };
27
+ export declare function hasCodeLines(detectors: ReadonlyArray<Detector>, lines: ReadonlyArray<string>): boolean;
28
+ //# sourceMappingURL=code-recognizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code-recognizer.d.ts","sourceRoot":"","sources":["../../src/recognizers/code-recognizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAS3F;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAEtF;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,OAAO,CAEtG"}
@@ -7,5 +7,5 @@ import type { Detector } from "./detector";
7
7
  * @param patterns - Patterns to detect (strings are escaped, RegExp used as-is)
8
8
  * @returns Detector instance
9
9
  */
10
- declare function createContainsDetector(probability: number, patterns: ReadonlyArray<string | RegExp>): Detector;
11
- export { createContainsDetector };
10
+ export declare function createContainsDetector(probability: number, patterns: ReadonlyArray<string | RegExp>): Detector;
11
+ //# sourceMappingURL=contains-detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contains-detector.d.ts","sourceRoot":"","sources":["../../src/recognizers/contains-detector.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAW3C;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,QAAQ,CAoB9G"}
@@ -2,7 +2,7 @@
2
2
  * A detector scans lines and returns match counts.
3
3
  * Recognition probability: 1 - (1 - p)^matches
4
4
  */
5
- interface Detector {
5
+ export interface Detector {
6
6
  readonly probability: number;
7
7
  readonly scan: (line: string) => number;
8
8
  }
@@ -13,6 +13,5 @@ interface Detector {
13
13
  * @param line - The line to analyze
14
14
  * @returns Probability between 0 and 1
15
15
  */
16
- declare function recognize(detector: Detector, line: string): number;
17
- export { recognize };
18
- export type { Detector };
16
+ export declare function recognize(detector: Detector, line: string): number;
17
+ //# sourceMappingURL=detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detector.d.ts","sourceRoot":"","sources":["../../src/recognizers/detector.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CACxC;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAIlE"}
@@ -7,5 +7,5 @@ import type { Detector } from "./detector";
7
7
  * @param endings - Characters to match at line end
8
8
  * @returns Detector instance
9
9
  */
10
- declare function createEndWithDetector(probability: number, endings: ReadonlyArray<string>): Detector;
11
- export { createEndWithDetector };
10
+ export declare function createEndWithDetector(probability: number, endings: ReadonlyArray<string>): Detector;
11
+ //# sourceMappingURL=end-with-detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"end-with-detector.d.ts","sourceRoot":"","sources":["../../src/recognizers/end-with-detector.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAK3C;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,QAAQ,CAenG"}
@@ -4,5 +4,5 @@ import type { Detector } from "./detector";
4
4
  *
5
5
  * @returns Array of configured detectors
6
6
  */
7
- declare function createJavaScriptDetectors(): ReadonlyArray<Detector>;
8
- export { createJavaScriptDetectors };
7
+ export declare function createJavaScriptDetectors(): ReadonlyArray<Detector>;
8
+ //# sourceMappingURL=javascript-footprint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"javascript-footprint.d.ts","sourceRoot":"","sources":["../../src/recognizers/javascript-footprint.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AA0D3C;;;;GAIG;AACH,wBAAgB,yBAAyB,IAAI,aAAa,CAAC,QAAQ,CAAC,CAQnE"}
@@ -7,5 +7,5 @@ import type { Detector } from "./detector";
7
7
  * @param keywords - Keywords to detect
8
8
  * @returns Detector instance
9
9
  */
10
- declare function createKeywordsDetector(probability: number, keywords: ReadonlyArray<string>): Detector;
11
- export { createKeywordsDetector };
10
+ export declare function createKeywordsDetector(probability: number, keywords: ReadonlyArray<string>): Detector;
11
+ //# sourceMappingURL=keywords-detector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keywords-detector.d.ts","sourceRoot":"","sources":["../../src/recognizers/keywords-detector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAI3C;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,QAAQ,CAcrG"}
@@ -25,3 +25,4 @@ interface RuleDocsWithRecommended extends TSESLint.RuleMetaDataDocs {
25
25
  }
26
26
  declare const banInstances: TSESLint.RuleModuleWithMetaDocs<MessageIds, Options, RuleDocsWithRecommended>;
27
27
  export default banInstances;
28
+ //# sourceMappingURL=ban-instances.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ban-instances.d.ts","sourceRoot":"","sources":["../../src/rules/ban-instances.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIzD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,mBAAmB;IACnC,QAAQ,CAAC,eAAe,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACnF;AAED,KAAK,OAAO,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC;AACtC,KAAK,UAAU,GAAG,gBAAgB,GAAG,sBAAsB,CAAC;AA4C5D,UAAU,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC/B;AAOD,QAAA,MAAM,YAAY,EAAE,QAAQ,CAAC,sBAAsB,CAAC,UAAU,EAAE,OAAO,EAAE,uBAAuB,CA6F/F,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -5,3 +5,4 @@ interface RuleDocsWithRecommended extends TSESLint.RuleMetaDataDocs {
5
5
  }
6
6
  declare const banReactFC: TSESLint.RuleModuleWithMetaDocs<MessageIds, [], RuleDocsWithRecommended>;
7
7
  export default banReactFC;
8
+ //# sourceMappingURL=ban-react-fc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ban-react-fc.d.ts","sourceRoot":"","sources":["../../src/rules/ban-react-fc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,KAAK,UAAU,GAAG,YAAY,CAAC;AAE/B,UAAU,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC/B;AAID,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,sBAAsB,CAAC,UAAU,EAAE,EAAE,EAAE,uBAAuB,CAyCxF,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type TSESLint } from "@typescript-eslint/utils";
1
+ import type { TSESLint } from "@typescript-eslint/utils";
2
2
  export interface ComplexityConfiguration {
3
3
  readonly baseThreshold: number;
4
4
  readonly warnThreshold: number;
@@ -8,3 +8,4 @@ export interface ComplexityConfiguration {
8
8
  }
9
9
  declare const _default: TSESLint.AnyRuleModuleWithMetaDocs;
10
10
  export default _default;
11
+ //# sourceMappingURL=enforce-ianitor-check-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enforce-ianitor-check-type.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-ianitor-check-type.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGzD,MAAM,WAAW,uBAAuB;IACvC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;CAClC;;AA+aD,wBAAwF"}
@@ -0,0 +1,36 @@
1
+ import type { Rule, SourceCode } from "eslint";
2
+ import type { Difference } from "../utilities/format-utilities";
3
+ interface LocatableSourceCode {
4
+ readonly getLocFromIndex?: SourceCode["getLocFromIndex"];
5
+ readonly text: string;
6
+ }
7
+ type FormatCacheEntry = {
8
+ readonly formatted: string;
9
+ readonly kind: "formatted";
10
+ } | {
11
+ readonly kind: "error";
12
+ readonly message: string;
13
+ };
14
+ interface FormatCache {
15
+ clear(): void;
16
+ get(key: string): FormatCacheEntry | undefined;
17
+ set(key: string, value: FormatCacheEntry): FormatCacheEntry;
18
+ }
19
+ interface FastFormatServices {
20
+ readonly format: (source: string, filePath: string) => string;
21
+ readonly generate: (original: string, formatted: string) => ReadonlyArray<Difference>;
22
+ readonly show: (text: string) => string;
23
+ }
24
+ interface FastFormatOptions {
25
+ readonly cache?: FormatCache;
26
+ readonly services?: Partial<FastFormatServices>;
27
+ }
28
+ export declare function getLocFromIndex(sourceCode: LocatableSourceCode, index: number): {
29
+ line: number;
30
+ column: number;
31
+ };
32
+ export declare function createFormatCache(limit?: number): FormatCache;
33
+ export declare function createFastFormatRule(options?: FastFormatOptions): Rule.RuleModule;
34
+ declare const fastFormat: Rule.RuleModule;
35
+ export default fastFormat;
36
+ //# sourceMappingURL=fast-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fast-format.d.ts","sourceRoot":"","sources":["../../src/rules/fast-format.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAahE,UAAU,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;AAUD,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,iBAAsB,GAAG,IAAI,CAAC,UAAU,CAiErF;AAED,QAAA,MAAM,UAAU,iBAAyB,CAAC;AAE1C,eAAe,UAAU,CAAC"}
@@ -5,3 +5,4 @@ interface RuleDocsWithRecommended extends TSESLint.RuleMetaDataDocs {
5
5
  }
6
6
  declare const noAsyncConstructor: TSESLint.RuleModuleWithMetaDocs<MessageIds, [], RuleDocsWithRecommended>;
7
7
  export default noAsyncConstructor;
8
+ //# sourceMappingURL=no-async-constructor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-async-constructor.d.ts","sourceRoot":"","sources":["../../src/rules/no-async-constructor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAEnE,KAAK,UAAU,GACZ,oBAAoB,GACpB,2BAA2B,GAC3B,wBAAwB,GACxB,oBAAoB,GACpB,iBAAiB,CAAC;AAErB,UAAU,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC/B;AA6RD,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,UAAU,EAAE,EAAE,EAAE,uBAAuB,CAgDhG,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type { Rule } from "eslint";
2
2
  declare const noColor3Constructor: Rule.RuleModule;
3
3
  export default noColor3Constructor;
4
+ //# sourceMappingURL=no-color3-constructor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-color3-constructor.d.ts","sourceRoot":"","sources":["../../src/rules/no-color3-constructor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAoCnC,QAAA,MAAM,mBAAmB,EAAE,IAAI,CAAC,UAsD/B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type { Rule } from "eslint";
2
2
  declare const noCommentedCode: Rule.RuleModule;
3
3
  export default noCommentedCode;
4
+ //# sourceMappingURL=no-commented-code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-commented-code.d.ts","sourceRoot":"","sources":["../../src/rules/no-commented-code.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA2OnC,QAAA,MAAM,eAAe,EAAE,IAAI,CAAC,UAqD3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Rule } from "eslint";
2
+ export interface NoGodComponentsOptions {
3
+ readonly targetLines?: number;
4
+ readonly maxLines?: number;
5
+ readonly enforceTargetLines?: boolean;
6
+ readonly maxTsxNesting?: number;
7
+ readonly maxStateHooks?: number;
8
+ readonly stateHooks?: ReadonlyArray<string>;
9
+ readonly maxDestructuredProps?: number;
10
+ readonly ignoreComponents?: ReadonlyArray<string>;
11
+ }
12
+ declare const noGodComponents: Rule.RuleModule;
13
+ export default noGodComponents;
14
+ //# sourceMappingURL=no-god-components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-god-components.d.ts","sourceRoot":"","sources":["../../src/rules/no-god-components.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,WAAW,sBAAsB;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClD;AA0RD,QAAA,MAAM,eAAe,EAAE,IAAI,CAAC,UA0L3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { TSESLint } from "@typescript-eslint/utils";
2
+ type MessageIds = "identityBindingMap" | "identityArrayMap";
3
+ export interface NoIdentityMapOptions {
4
+ readonly bindingPatterns?: ReadonlyArray<string>;
5
+ }
6
+ type Options = [NoIdentityMapOptions?];
7
+ declare const noIdentityMap: TSESLint.RuleModuleWithMetaDocs<MessageIds, Options>;
8
+ export default noIdentityMap;
9
+ //# sourceMappingURL=no-identity-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-identity-map.d.ts","sourceRoot":"","sources":["../../src/rules/no-identity-map.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAGnE,KAAK,UAAU,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;AAE5D,MAAM,WAAW,oBAAoB;IACpC,QAAQ,CAAC,eAAe,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CACjD;AAED,KAAK,OAAO,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAyMvC,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,sBAAsB,CAAC,UAAU,EAAE,OAAO,CAkEvE,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -12,3 +12,4 @@ declare const noInstanceMethodsWithoutThis: TSESLint.RuleModuleWithMetaDocs<Mess
12
12
  NoInstanceMethodsOptions | undefined
13
13
  ], RuleDocsWithRecommended>;
14
14
  export default noInstanceMethodsWithoutThis;
15
+ //# sourceMappingURL=no-instance-methods-without-this.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-instance-methods-without-this.d.ts","sourceRoot":"","sources":["../../src/rules/no-instance-methods-without-this.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAEnE,KAAK,UAAU,GAAG,6BAA6B,CAAC;AAEhD,MAAM,WAAW,wBAAwB;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB;AAID,UAAU,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC/B;AAoED,QAAA,MAAM,4BAA4B,EAAE,QAAQ,CAAC,sBAAsB,CAClE,UAAU,EACV;IAAC,wBAAwB,GAAG,SAAS;CAAC,EACtC,uBAAuB,CAyDvB,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type { Rule } from "eslint";
2
2
  declare const noPrint: Rule.RuleModule;
3
3
  export default noPrint;
4
+ //# sourceMappingURL=no-print.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-print.d.ts","sourceRoot":"","sources":["../../src/rules/no-print.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,OAAO,EAAE,IAAI,CAAC,UAsBnB,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -5,3 +5,4 @@ export interface NoShorthandOptions {
5
5
  }
6
6
  declare const noShorthandNames: Rule.RuleModule;
7
7
  export default noShorthandNames;
8
+ //# sourceMappingURL=no-shorthand-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-shorthand-names.d.ts","sourceRoot":"","sources":["../../src/rules/no-shorthand-names.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAInC,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACrD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAoLD,QAAA,MAAM,gBAAgB,EAAE,IAAI,CAAC,UA6F5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -9,3 +9,4 @@ type Options = [NoUselessUseSpringOptions?];
9
9
  export declare const DEFAULT_STATIC_GLOBAL_FACTORIES: ReadonlyArray<string>;
10
10
  declare const noUselessUseSpring: TSESLint.RuleModuleWithMetaDocs<MessageIds, Options>;
11
11
  export default noUselessUseSpring;
12
+ //# sourceMappingURL=no-useless-use-spring.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-useless-use-spring.d.ts","sourceRoot":"","sources":["../../src/rules/no-useless-use-spring.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAGnE,KAAK,UAAU,GAAG,eAAe,CAAC;AAElC,MAAM,WAAW,yBAAyB;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7C,QAAQ,CAAC,qBAAqB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACvD,QAAQ,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CAC7C;AAED,KAAK,OAAO,GAAG,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAQ5C,eAAO,MAAM,+BAA+B,EAAE,aAAa,CAAC,MAAM,CAyBjE,CAAC;AA6YF,QAAA,MAAM,kBAAkB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,UAAU,EAAE,OAAO,CAwE5E,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type { Rule } from "eslint";
2
2
  declare const noWarn: Rule.RuleModule;
3
3
  export default noWarn;
4
+ //# sourceMappingURL=no-warn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-warn.d.ts","sourceRoot":"","sources":["../../src/rules/no-warn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,MAAM,EAAE,IAAI,CAAC,UAsBlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -5,3 +5,4 @@ interface RuleDocsWithRecommended extends TSESLint.RuleMetaDataDocs {
5
5
  declare const preferSequenceOverloads: TSESLint.RuleModuleWithMetaDocs<"preferSingleOverload" | "preferTwoPointOverload", [
6
6
  ], RuleDocsWithRecommended>;
7
7
  export default preferSequenceOverloads;
8
+ //# sourceMappingURL=prefer-sequence-overloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefer-sequence-overloads.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-sequence-overloads.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,0BAA0B,CAAC;AAgEnE,UAAU,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC/B;AAQD,QAAA,MAAM,uBAAuB,EAAE,QAAQ,CAAC,sBAAsB,CAC7D,sBAAsB,GAAG,wBAAwB,EACjD;CAAE,EACF,uBAAuB,CAuEvB,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import type { Rule } from "eslint";
2
2
  declare const preferUDim2Shorthand: Rule.RuleModule;
3
3
  export default preferUDim2Shorthand;
4
+ //# sourceMappingURL=prefer-udim2-shorthand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefer-udim2-shorthand.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-udim2-shorthand.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAiJnC,QAAA,MAAM,oBAAoB,EAAE,IAAI,CAAC,UAqDhC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,14 +1,15 @@
1
1
  import type { Rule } from "eslint";
2
- import Type from "typebox";
2
+ import Typebox from "typebox";
3
3
  export interface HookConfiguration {
4
4
  readonly allowAsync: boolean;
5
5
  readonly name: string;
6
6
  }
7
- declare const isEnvironmentMode: Type.TUnion<[Type.TLiteral<"roblox-ts">, Type.TLiteral<"standard">]>;
8
- export type EnvironmentMode = Type.Static<typeof isEnvironmentMode>;
7
+ declare const isEnvironmentMode: Typebox.TUnion<[Typebox.TLiteral<"roblox-ts">, Typebox.TLiteral<"standard">]>;
8
+ export type EnvironmentMode = Typebox.Static<typeof isEnvironmentMode>;
9
9
  export interface EffectFunctionOptions {
10
10
  readonly environment: EnvironmentMode;
11
11
  readonly hooks: ReadonlyArray<HookConfiguration>;
12
12
  }
13
13
  declare const requireNamedEffectFunctions: Rule.RuleModule;
14
14
  export default requireNamedEffectFunctions;
15
+ //# sourceMappingURL=require-named-effect-functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"require-named-effect-functions.d.ts","sourceRoot":"","sources":["../../src/rules/require-named-effect-functions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,OAAO,MAAM,SAAS,CAAC;AAG9B,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACtB;AAQD,QAAA,MAAM,iBAAiB,+EAA6E,CAAC;AACrG,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEvE,MAAM,WAAW,qBAAqB;IACrC,QAAQ,CAAC,WAAW,EAAE,eAAe,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;CACjD;AAqMD,QAAA,MAAM,2BAA2B,EAAE,IAAI,CAAC,UAuMvC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -34,3 +34,4 @@ export interface RequirePairedCallsOptions {
34
34
  export declare const DEFAULT_ROBLOX_YIELDING_FUNCTIONS: readonly ["task.wait", "wait", "*.WaitForChild", "*.*Async"];
35
35
  declare const rule: Rule.RuleModule;
36
36
  export default rule;
37
+ //# sourceMappingURL=require-paired-calls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"require-paired-calls.d.ts","sourceRoot":"","sources":["../../src/rules/require-paired-calls.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAOnC;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC,wDAAwD;IACxD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,qDAAqD;IACrD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACpD,uDAAuD;IACvD,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IAChD,8CAA8C;IAC9C,QAAQ,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC9C,qDAAqD;IACrD,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,iCAAiC;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CACnD;AAeD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACzC,8CAA8C;IAC9C,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IACjD,gCAAgC;IAChC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAC3C,yCAAyC;IACzC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IACxC,4CAA4C;IAC5C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CAClC;AAsED,eAAO,MAAM,iCAAiC,8DAA+D,CAAC;AAqG9G,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAy2BhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -12,3 +12,4 @@ interface RuleDocsWithRecommended extends TSESLint.RuleMetaDataDocs {
12
12
  }
13
13
  declare const requireReactComponentKeys: TSESLint.RuleModuleWithMetaDocs<MessageIds, Options, RuleDocsWithRecommended>;
14
14
  export default requireReactComponentKeys;
15
+ //# sourceMappingURL=require-react-component-keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"require-react-component-keys.d.ts","sourceRoot":"","sources":["../../src/rules/require-react-component-keys.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACvD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAClD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClD;AAED,KAAK,OAAO,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC;AACnC,KAAK,UAAU,GAAG,YAAY,GAAG,sBAAsB,CAAC;AAyCxD,UAAU,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IAClE,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC/B;AA+VD,QAAA,MAAM,yBAAyB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,UAAU,EAAE,OAAO,EAAE,uBAAuB,CAgH5G,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -53,3 +53,4 @@ export declare const __testing: {
53
53
  resetMetrics: typeof resetTestingMetrics;
54
54
  };
55
55
  export default useExhaustiveDependencies;
56
+ //# sourceMappingURL=use-exhaustive-dependencies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-exhaustive-dependencies.d.ts","sourceRoot":"","sources":["../../src/rules/use-exhaustive-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAgB1C,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;CACzF;AAED,MAAM,WAAW,gCAAgC;IAChD,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAC1C,QAAQ,CAAC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAClD,QAAQ,CAAC,6BAA6B,CAAC,EAAE,OAAO,CAAC;CACjD;AAED,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAO/E,iBAAS,mBAAmB,IAAI,IAAI,CAGnC;AAED,UAAU,sBAAsB;IAC/B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,I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a,CAAC,MAAM,CAAC,GAC5E,YAAY,CAQd;AAED,QAAA,MAAM,yBAAyB,EAAE,IAAI,CAAC,UAoWrC,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;CASrB,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -20,3 +20,4 @@ export interface UseHookAtTopLevelOptions {
20
20
  }
21
21
  declare const useHookAtTopLevel: Rule.RuleModule;
22
22
  export default useHookAtTopLevel;
23
+ //# sourceMappingURL=use-hook-at-top-level.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-hook-at-top-level.d.ts","sourceRoot":"","sources":["../../src/rules/use-hook-at-top-level.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAqBnC,MAAM,WAAW,wBAAwB;IACxC;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAE7C;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEjD;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAC3C;AA0GD,QAAA,MAAM,iBAAiB,EAAE,IAAI,CAAC,UAiT7B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,88 @@
1
+ import Typebox from "typebox";
2
+ export declare const isOxfmtConfiguration: import("typebox/compile").Validator<{}, Typebox.TObject<{
3
+ $schema: Typebox.TOptional<Typebox.TString>;
4
+ arrowParens: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"always">, Typebox.TLiteral<"avoid">]>>;
5
+ bracketSameLine: Typebox.TOptional<Typebox.TBoolean>;
6
+ bracketSpacing: Typebox.TOptional<Typebox.TBoolean>;
7
+ embeddedLanguageFormatting: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"auto">, Typebox.TLiteral<"off">]>>;
8
+ endOfLine: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"lf">, Typebox.TLiteral<"crlf">, Typebox.TLiteral<"cr">]>>;
9
+ experimentalOperatorPosition: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"end">, Typebox.TLiteral<"start">]>>;
10
+ experimentalSortImports: Typebox.TOptional<Typebox.TObject<{
11
+ ignoreCase: Typebox.TOptional<Typebox.TBoolean>;
12
+ newlinesBetween: Typebox.TOptional<Typebox.TBoolean>;
13
+ order: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"asc">, Typebox.TLiteral<"desc">]>>;
14
+ partitionByComment: Typebox.TOptional<Typebox.TBoolean>;
15
+ partitionByNewline: Typebox.TOptional<Typebox.TBoolean>;
16
+ sortSideEffects: Typebox.TOptional<Typebox.TBoolean>;
17
+ }>>;
18
+ experimentalSortPackageJson: Typebox.TOptional<Typebox.TBoolean>;
19
+ ignorePatterns: Typebox.TOptional<Typebox.TArray<Typebox.TString>>;
20
+ jsxSingleQuote: Typebox.TOptional<Typebox.TBoolean>;
21
+ objectWrap: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"preserve">, Typebox.TLiteral<"collapse">, Typebox.TLiteral<"always">]>>;
22
+ printWidth: Typebox.TOptional<Typebox.TInteger>;
23
+ quoteProps: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"as-needed">, Typebox.TLiteral<"consistent">, Typebox.TLiteral<"preserve">]>>;
24
+ semi: Typebox.TOptional<Typebox.TBoolean>;
25
+ singleAttributePerLine: Typebox.TOptional<Typebox.TBoolean>;
26
+ singleQuote: Typebox.TOptional<Typebox.TBoolean>;
27
+ tabWidth: Typebox.TOptional<Typebox.TInteger>;
28
+ trailingComma: Typebox.TOptional<Typebox.TUnion<[Typebox.TLiteral<"none">, Typebox.TLiteral<"es5">, Typebox.TLiteral<"all">]>>;
29
+ useTabs: Typebox.TOptional<Typebox.TBoolean>;
30
+ }>, {
31
+ $schema?: string;
32
+ arrowParens?: "always" | "avoid";
33
+ bracketSameLine?: boolean;
34
+ bracketSpacing?: boolean;
35
+ embeddedLanguageFormatting?: "auto" | "off";
36
+ endOfLine?: "cr" | "crlf" | "lf";
37
+ experimentalOperatorPosition?: "end" | "start";
38
+ experimentalSortImports?: {
39
+ ignoreCase?: boolean;
40
+ newlinesBetween?: boolean;
41
+ order?: "asc" | "desc";
42
+ partitionByComment?: boolean;
43
+ partitionByNewline?: boolean;
44
+ sortSideEffects?: boolean;
45
+ };
46
+ experimentalSortPackageJson?: boolean;
47
+ ignorePatterns?: string[];
48
+ jsxSingleQuote?: boolean;
49
+ objectWrap?: "always" | "collapse" | "preserve";
50
+ printWidth?: number;
51
+ quoteProps?: "as-needed" | "consistent" | "preserve";
52
+ semi?: boolean;
53
+ singleAttributePerLine?: boolean;
54
+ singleQuote?: boolean;
55
+ tabWidth?: number;
56
+ trailingComma?: "all" | "es5" | "none";
57
+ useTabs?: boolean;
58
+ }, {
59
+ $schema?: string;
60
+ arrowParens?: "always" | "avoid";
61
+ bracketSameLine?: boolean;
62
+ bracketSpacing?: boolean;
63
+ embeddedLanguageFormatting?: "auto" | "off";
64
+ endOfLine?: "cr" | "crlf" | "lf";
65
+ experimentalOperatorPosition?: "end" | "start";
66
+ experimentalSortImports?: {
67
+ ignoreCase?: boolean;
68
+ newlinesBetween?: boolean;
69
+ order?: "asc" | "desc";
70
+ partitionByComment?: boolean;
71
+ partitionByNewline?: boolean;
72
+ sortSideEffects?: boolean;
73
+ };
74
+ experimentalSortPackageJson?: boolean;
75
+ ignorePatterns?: string[];
76
+ jsxSingleQuote?: boolean;
77
+ objectWrap?: "always" | "collapse" | "preserve";
78
+ printWidth?: number;
79
+ quoteProps?: "as-needed" | "consistent" | "preserve";
80
+ semi?: boolean;
81
+ singleAttributePerLine?: boolean;
82
+ singleQuote?: boolean;
83
+ tabWidth?: number;
84
+ trailingComma?: "all" | "es5" | "none";
85
+ useTabs?: boolean;
86
+ }>;
87
+ export type OxfmtConfiguration = Typebox.Static<typeof isOxfmtConfiguration>;
88
+ //# sourceMappingURL=oxfmt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oxfmt.d.ts","sourceRoot":"","sources":["../../src/types/oxfmt.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAG9B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDhC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -1,13 +1,14 @@
1
- import type { BanInstancesOptions } from "./rules/ban-instances";
2
- import type { ComplexityConfiguration } from "./rules/enforce-ianitor-check-type";
3
- import type { NoInstanceMethodsOptions } from "./rules/no-instance-methods-without-this";
4
- import type { NoShorthandOptions } from "./rules/no-shorthand-names";
5
- import { type NoUselessUseSpringOptions } from "./rules/no-useless-use-spring";
6
- import type { EffectFunctionOptions, HookConfiguration } from "./rules/require-named-effect-functions";
7
- import type { PairConfiguration, RequirePairedCallsOptions } from "./rules/require-paired-calls";
8
- import type { ReactKeysOptions } from "./rules/require-react-component-keys";
9
- import type { UseExhaustiveDependenciesOptions } from "./rules/use-exhaustive-dependencies";
10
- import type { UseHookAtTopLevelOptions } from "./rules/use-hook-at-top-level";
1
+ import type { BanInstancesOptions } from "../rules/ban-instances";
2
+ import type { ComplexityConfiguration } from "../rules/enforce-ianitor-check-type";
3
+ import type { NoGodComponentsOptions } from "../rules/no-god-components";
4
+ import type { NoInstanceMethodsOptions } from "../rules/no-instance-methods-without-this";
5
+ import type { NoShorthandOptions } from "../rules/no-shorthand-names";
6
+ import type { NoUselessUseSpringOptions } from "../rules/no-useless-use-spring";
7
+ import type { EffectFunctionOptions, HookConfiguration } from "../rules/require-named-effect-functions";
8
+ import type { PairConfiguration, RequirePairedCallsOptions } from "../rules/require-paired-calls";
9
+ import type { ReactKeysOptions } from "../rules/require-react-component-keys";
10
+ import type { UseExhaustiveDependenciesOptions } from "../rules/use-exhaustive-dependencies";
11
+ import type { UseHookAtTopLevelOptions } from "../rules/use-hook-at-top-level";
11
12
  /**
12
13
  * Creates a pair configuration for require-paired-calls rule
13
14
  * @param opener - The opener function name
@@ -69,6 +70,12 @@ export declare function createRequirePairedCallsOptions(options?: Partial<Requir
69
70
  * @returns The full options
70
71
  */
71
72
  export declare function createReactKeysOptions(options?: Partial<ReactKeysOptions>): ReactKeysOptions;
73
+ /**
74
+ * Creates options for no-god-components rule
75
+ * @param options - Partial configuration options
76
+ * @returns The full options
77
+ */
78
+ export declare function createNoGodComponentsOptions(options?: Partial<NoGodComponentsOptions>): NoGodComponentsOptions;
72
79
  /**
73
80
  * Creates a use-exhaustive-dependencies options for use-exhaustive-dependencies rule
74
81
  * @param options - Partial configuration options
@@ -87,3 +94,4 @@ export declare function createUseHookAtTopLevelOptions(options?: Partial<UseHook
87
94
  * @returns The full options
88
95
  */
89
96
  export declare function createNoUselessUseSpringOptions(options?: Partial<NoUselessUseSpringOptions>): NoUselessUseSpringOptions;
97
+ //# sourceMappingURL=configure-utilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configure-utilities.d.ts","sourceRoot":"","sources":["../../src/utilities/configure-utilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,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AAC,iBAAiB,EAAE,MAAM,CAAC,CAAM,GACpD,iBAAiB,CAEnB;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAC9C,OAAO,GAAE,OAAO,CAAC,yBAAyB,CAAM,GAC9C,yBAAyB,CAQ3B;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,GAAE,OAAO,CAAC,gBAAgB,CAAM,GAAG,gBAAgB,CAQhG;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,OAAO,GAAE,OAAO,CAAC,sBAAsB,CAAM,GAAG,sBAAsB,CAYlH;AAED;;;;GAIG;AACH,wBAAgB,sCAAsC,CACrD,OAAO,GAAE,OAAO,CAAC,gCAAgC,CAAM,GACrD,gCAAgC,CAOlC;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC7C,OAAO,GAAE,OAAO,CAAC,wBAAwB,CAAM,GAC7C,wBAAwB,CAO1B;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAC9C,OAAO,GAAE,OAAO,CAAC,yBAAyB,CAAM,GAC9C,yBAAyB,CAO3B"}
@@ -0,0 +1,25 @@
1
+ import Typebox from "typebox";
2
+ export declare const isLiteralErrorLike: import("typebox/compile").Validator<{}, Typebox.TObject<{
3
+ message: Typebox.TString;
4
+ name: Typebox.TString;
5
+ }>, {
6
+ message: string;
7
+ name: string;
8
+ }, {
9
+ message: string;
10
+ name: string;
11
+ }>;
12
+ export type ErrorLike = Typebox.Static<typeof isLiteralErrorLike>;
13
+ export declare function isErrorLike(value: unknown): value is ErrorLike;
14
+ export declare function isErrnoException(value: unknown): value is NodeJS.ErrnoException;
15
+ /**
16
+ * Converts an unknown error value to a string message.
17
+ *
18
+ * If the error is an Error object, returns its message. Otherwise, coerces to
19
+ * string.
20
+ *
21
+ * @param error - The error value to stringify.
22
+ * @returns The string representation of the error.
23
+ */
24
+ export declare function stringifyUnknownError(error: unknown): string;
25
+ //# sourceMappingURL=error-utilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-utilities.d.ts","sourceRoot":"","sources":["../../src/utilities/error-utilities.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAC;AAG9B,eAAO,MAAM,kBAAkB;;;;;;;;;EAK9B,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAElE,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAE9D;AAWD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,cAAc,CAI/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAE5D"}