Skip to content

Commit 8c4a914

Browse files
authored
Merge branch 'main' into main
2 parents 186f44a + 2a460f0 commit 8c4a914

File tree

265 files changed

+4361
-6699
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+4361
-6699
lines changed

.pkgs/configs/eslint.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export declare const GLOB_TESTS: string[];
66
export declare const GLOB_CONFIGS: string[];
77
export declare const GLOB_SCRIPTS: string[];
88
export declare const GLOB_IGNORES: readonly ["**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/bun.lockb", "**/output", "**/coverage", "**/temp", "**/.temp", "**/tmp", "**/.tmp", "**/.history", "**/.vitepress/cache", "**/.nuxt", "**/.next", "**/.vercel", "**/.changeset", "**/.idea", "**/.cache", "**/.output", "**/.vite-inspect", "**/.yarn", "**/storybook-static", "**/.eslint-config-inspector", "**/playwright-report", "**/.astro", "**/.vinxi", "**/app.config.timestamp_*.js", "**/.tanstack", "**/.nitro", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__", "**/auto-import?(s).d.ts", "**/components.d.ts", "**/vite.config.ts.*.mjs", "**/*.gen.*", "!.storybook"];
9+
export declare function buildIgnoreConfig(gitignore: string, extra: string[]): readonly [never, import("eslint/config").Config];
910
export declare const strictTypeChecked: Linter.Config[];
1011
export declare const disableTypeChecked: Linter.Config[];
1112
/**

.pkgs/configs/eslint.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { includeIgnoreFile } from "@eslint/compat";
12
import js from "@eslint/js";
23
import stylistic from "@stylistic/eslint-plugin";
34
import pluginDeMorgan from "eslint-plugin-de-morgan";
@@ -6,7 +7,7 @@ import { jsdoc } from "eslint-plugin-jsdoc";
67
import pluginPerfectionist from "eslint-plugin-perfectionist";
78
import pluginRegexp from "eslint-plugin-regexp";
89
import pluginUnicorn from "eslint-plugin-unicorn";
9-
import { defineConfig } from "eslint/config";
10+
import { defineConfig, globalIgnores } from "eslint/config";
1011
import tseslint from "typescript-eslint";
1112
export const GLOB_JS = ["**/*.{js,jsx,cjs,mjs}"];
1213
export const GLOB_TS = ["**/*.{ts,tsx,cts,mts}"];
@@ -88,6 +89,15 @@ const p11tGroups = {
8889
},
8990
groups: ["id", "type", "meta", "alias", "rules", "unknown"],
9091
};
92+
export function buildIgnoreConfig(gitignore, extra) {
93+
return [
94+
includeIgnoreFile(gitignore, "Imported .gitignore patterns"),
95+
globalIgnores([
96+
...GLOB_IGNORES,
97+
...extra,
98+
]),
99+
];
100+
}
91101
export const strictTypeChecked = defineConfig({
92102
ignores: GLOB_JS,
93103
}, {

.pkgs/configs/eslint.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { includeIgnoreFile } from "@eslint/compat";
12
import js from "@eslint/js";
23
import stylistic from "@stylistic/eslint-plugin";
34
import type { Linter } from "eslint";
@@ -7,7 +8,7 @@ import { jsdoc } from "eslint-plugin-jsdoc";
78
import pluginPerfectionist from "eslint-plugin-perfectionist";
89
import pluginRegexp from "eslint-plugin-regexp";
910
import pluginUnicorn from "eslint-plugin-unicorn";
10-
import { defineConfig } from "eslint/config";
11+
import { defineConfig, globalIgnores } from "eslint/config";
1112
import tseslint from "typescript-eslint";
1213

1314
export const GLOB_JS = ["**/*.{js,jsx,cjs,mjs}"];
@@ -98,6 +99,16 @@ const p11tGroups = {
9899
groups: ["id", "type", "meta", "alias", "rules", "unknown"],
99100
};
100101

102+
export function buildIgnoreConfig(gitignore: string, extra: string[]) {
103+
return [
104+
includeIgnoreFile(gitignore, "Imported .gitignore patterns") as never,
105+
globalIgnores([
106+
...GLOB_IGNORES,
107+
...extra,
108+
]),
109+
] as const;
110+
}
111+
101112
export const strictTypeChecked: Linter.Config[] = defineConfig(
102113
{
103114
ignores: GLOB_JS,

.pkgs/configs/package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@
2020
},
2121
"dependencies": {
2222
"@eslint/js": "^9.39.1",
23-
"@stylistic/eslint-plugin": "^5.5.0",
23+
"@stylistic/eslint-plugin": "^5.6.1",
2424
"eslint-plugin-de-morgan": "^2.0.0",
25-
"eslint-plugin-function": "^0.0.34",
26-
"eslint-plugin-function-rule": "^0.0.16",
27-
"eslint-plugin-jsdoc": "^61.2.1",
25+
"eslint-plugin-function": "^0.0.35",
26+
"eslint-plugin-function-rule": "^0.0.17",
27+
"eslint-plugin-jsdoc": "^61.3.0",
2828
"eslint-plugin-perfectionist": "^4.15.1",
2929
"eslint-plugin-regexp": "^2.10.0",
3030
"eslint-plugin-unicorn": "^62.0.0",
31-
"typescript-eslint": "^8.46.4"
31+
"typescript-eslint": "^8.47.0"
3232
},
3333
"peerDependencies": {
3434
"eslint": "^9.39.1",
35+
"typedoc": "0.28.14",
36+
"typedoc-plugin-markdown": "^4.9.0",
37+
"typedoc-plugin-mdn-links": "^5.0.10",
3538
"typescript": "^5.9.3"
3639
}
3740
}

.pkgs/configs/typedoc.base.json

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,38 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"cleanOutputDir": true,
44
"disableSources": true,
5-
"hideGenerator": true,
5+
"entryPoints": [
6+
"src/index.ts"
7+
],
68
"excludeInternal": true,
9+
"expandObjects": true,
10+
"expandParameters": true,
11+
"hideGenerator": true,
12+
"hidePageHeader": true,
13+
"hidePageTitle": false,
14+
"indexFormat": "table",
15+
"parametersFormat": "table",
16+
"interfacePropertiesFormat": "table",
17+
"classPropertiesFormat": "table",
18+
"typeAliasPropertiesFormat": "table",
19+
"enumMembersFormat": "table",
20+
"propertyMembersFormat": "table",
21+
"typeDeclarationFormat": "table",
722
"jsDocCompatibility": true,
823
"logLevel": "Warn",
24+
"name": "Public APIs",
25+
"out": "docs",
26+
"plugin": [
27+
"typedoc-plugin-markdown",
28+
"typedoc-plugin-mdn-links"
29+
],
930
"readme": "none",
1031
"sort": [
1132
"kind",
1233
"instance-first",
1334
"alphabetical"
1435
],
15-
"plugin": [
16-
"typedoc-plugin-markdown",
17-
"typedoc-plugin-mdn-links"
18-
],
1936
"theme": "default",
37+
"useCodeBlocks": true,
2038
"useTsLinkResolution": true
2139
}

.pkgs/function-rules/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"lint:ts": "tsc --noEmit"
2222
},
2323
"dependencies": {
24-
"eslint-plugin-function-rule": "^0.0.16"
24+
"eslint-plugin-function-rule": "^0.0.17"
2525
},
2626
"devDependencies": {
2727
"eslint": "^9.39.1",
28-
"tsdown": "^0.16.4"
28+
"tsdown": "^0.16.5"
2929
},
3030
"peerDependencies": {
3131
"eslint": "^9.39.1",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Version](https://img.shields.io/npm/v/@eslint-react/eslint-plugin?style=flat&colorA=111111&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
66
[![Downloads](https://img.shields.io/npm/dt/@eslint-react/eslint-plugin.svg?style=flat&colorA=222222&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
77
[![License](https://img.shields.io/npm/l/@eslint-react/eslint-plugin?style=flat&colorA=333333&colorB=000000)](https://npmjs.com/package/@eslint-react/eslint-plugin)
8-
[![Build with](https://img.shields.io/badge/[email protected].4-000000?style=flat)](https://tsdown.dev)
8+
[![Build with](https://img.shields.io/badge/[email protected].5-000000?style=flat)](https://tsdown.dev)
99

1010
4-7x faster composable ESLint rules for React and friends.
1111

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.6-beta.7
1+
2.3.6-next.10

apps/website/content/docs/community.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export const projects = [
22
{ owner: "Ajaxy", repo: "telegram-tt" },
3-
{ owner: "ant-design", repo: "ant-design" },
43
{ owner: "clientIO", repo: "joint" },
54
{ owner: "DimensionDev", repo: "Maskbook" },
65
{ owner: "electric-sql", repo: "electric" },
@@ -11,8 +10,6 @@ export const projects = [
1110
{ owner: "kriasoft", repo: "graphql-starter-kit" },
1211
{ owner: "kriasoft", repo: "react-starter-kit" },
1312
{ owner: "letstri", repo: "permix" },
14-
{ owner: "mcp-use", repo: "mcp-use" },
15-
{ owner: "mgilangjanuar", repo: "buntal" },
1613
{ owner: "npmgraph", repo: "npmgraph" },
1714
{ owner: "offlegacy", repo: "event-tracker" },
1815
{ owner: "onejs", repo: "one" },
@@ -21,7 +18,6 @@ export const projects = [
2118
{ owner: "primer", repo: "react" },
2219
{ owner: "react-navigation", repo: "react-navigation" },
2320
{ owner: "refined-github", repo: "refined-github" },
24-
{ owner: "RSSNext", repo: "Follow" },
2521
{ owner: "TanStack", repo: "form" },
2622
{ owner: "TanStack", repo: "pacer" },
2723
{ owner: "TanStack", repo: "query" },

apps/website/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"@eslint-react/eff": "workspace:*",
1414
"bsky-react-post": "^0.1.7",
1515
"clsx": "^2.1.1",
16-
"effect": "^3.19.3",
17-
"fumadocs-core": "16.0.11",
16+
"effect": "^3.19.4",
17+
"fumadocs-core": "16.0.14",
1818
"fumadocs-docgen": "3.0.4",
19-
"fumadocs-mdx": "13.0.8",
19+
"fumadocs-mdx": "14.0.2",
2020
"fumadocs-twoslash": "3.1.10",
2121
"fumadocs-typescript": "4.0.13",
22-
"fumadocs-ui": "16.0.11",
23-
"lucide-react": "^0.553.0",
22+
"fumadocs-ui": "16.0.14",
23+
"lucide-react": "^0.554.0",
2424
"next": "^16.0.3",
2525
"next-view-transitions": "^0.3.4",
2626
"react": "^19.2.0",
@@ -38,12 +38,12 @@
3838
"@tailwindcss/postcss": "^4.1.17",
3939
"@theguild/remark-mermaid": "^0.3.0",
4040
"@tsconfig/next": "^2.0.4",
41-
"@tsconfig/node22": "^22.0.3",
41+
"@tsconfig/node22": "^22.0.5",
4242
"@tsconfig/strictest": "^2.0.8",
4343
"@types/hast": "^3.0.4",
4444
"@types/mdx": "^2.0.13",
4545
"@types/node": "^24.10.1",
46-
"@types/react": "^19.2.5",
46+
"@types/react": "^19.2.6",
4747
"@types/react-dom": "^19.2.3",
4848
"dedent": "^1.7.0",
4949
"eslint": "^9.39.1",
@@ -55,6 +55,6 @@
5555
"tailwindcss": "^4.1.17",
5656
"tailwindcss-animated": "^2.0.0",
5757
"typescript": "^5.9.3",
58-
"typescript-eslint": "^8.46.4"
58+
"typescript-eslint": "^8.47.0"
5959
}
6060
}

0 commit comments

Comments
 (0)