@frsource/eslint-config 1.29.0 → 1.31.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/javascript.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  /** @type { import("eslint").Linter.Config[] } */
2
2
  export const overrides: import("eslint").Linter.Config[];
3
- declare const _default: import("eslint").Linter.Config[];
3
+ declare const _default: any[];
4
4
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frsource/eslint-config",
3
- "version": "1.29.0",
3
+ "version": "1.31.0",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.mts",
6
6
  "type": "module",
@@ -17,8 +17,8 @@
17
17
  "eslint": "^9.1.0",
18
18
  "release-it": "^17.2.0",
19
19
  "typescript": "^5.4.5",
20
- "@frsource/release-it-config": "1.26.0",
21
- "@frsource/prettier-config": "1.18.0"
20
+ "@frsource/prettier-config": "1.19.0",
21
+ "@frsource/release-it-config": "1.27.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "eslint": ">= 9",
package/typescript.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  /** @type { import("eslint").Linter.Config[] } */
2
2
  export const overrides: import("eslint").Linter.Config[];
3
- declare const _default: typeof import("typescript-eslint")["config"];
4
- export default _default;
3
+ export default rules;
4
+ /** @type {ReturnType<import('typescript-eslint')['config']>} */
5
+ declare const rules: ReturnType<typeof import("typescript-eslint")["config"]>;
package/typescript.mjs CHANGED
@@ -17,10 +17,11 @@ export const overrides = [
17
17
  ...javascriptOverrides,
18
18
  ];
19
19
 
20
- /** @type {import('typescript-eslint')['config']} */
21
- export default ts.config(
20
+ /** @type {ReturnType<import('typescript-eslint')['config']>} */
21
+ const rules = ts.config(
22
22
  js.configs.recommended,
23
23
  ...ts.configs.strict,
24
24
  prettier,
25
25
  ...overrides,
26
26
  );
27
+ export default rules;