Skip to content

Commit 6c51d7e

Browse files
authored
Update dependencies (Comcast#3844)
* Update dependencies * biome rule is fixed * Update ignore list * Add new rules * Add new rules * Update new deps * Add more rules * Add markdown rules
1 parent d8c5b2e commit 6c51d7e

7 files changed

Lines changed: 78 additions & 30 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ The `ref` prop is supported.
635635

636636
##### Props
637637

638-
See [`FormatterProps`](#formatterprops)
638+
See [`RenderCellProps`](#rendercellprops)
639639

640640
#### `<SelectCellFormatter />`
641641

@@ -826,12 +826,12 @@ Extends `React.MouseEvent<HTMLDivElement>`
826826

827827
#### `RenderEditCellProps`
828828

829+
#### `RenderRowProps`
830+
829831
#### `RenderCellProps`
830832

831833
#### `RenderGroupCellProps`
832834

833-
#### `RenderRowProps`
834-
835835
### Generics
836836

837837
- `R`, `TRow`: Row type

biome.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"includes": [
55
"**",
66
"!.cache/**/*",
7+
"!.cache/**/*",
8+
"!.nitro/**/*",
9+
"!.output/**/*",
10+
"!.tanstack/**/*",
711
"!coverage/**/*",
812
"!dist/**/*",
913
"!lib/**/*",
@@ -53,11 +57,13 @@
5357
"noPositiveTabindex": "warn",
5458
"noRedundantAlt": "warn",
5559
"noRedundantRoles": "warn",
60+
"noStaticElementInteractions": "off",
5661
"noSvgWithoutTitle": "off",
5762
"useAltText": "warn",
5863
"useAnchorContent": "warn",
5964
"useAriaActivedescendantWithTabindex": "warn",
6065
"useAriaPropsForRole": "warn",
66+
"useAriaPropsSupportedByRole": "off",
6167
"useButtonType": "warn",
6268
"useFocusableInteractive": "off",
6369
"useGenericFontNames": "warn",
@@ -72,6 +78,7 @@
7278
"useValidAriaProps": "warn",
7379
"useValidAriaRole": "warn",
7480
"useValidAriaValues": "warn",
81+
"useValidAutocomplete": "warn",
7582
"useValidLang": "warn"
7683
},
7784
"complexity": {
@@ -81,10 +88,12 @@
8188
"noCommaOperator": "warn",
8289
"noEmptyTypeParameters": "warn",
8390
"noExcessiveCognitiveComplexity": "off",
91+
"noExcessiveLinesPerFunction": "off",
8492
"noExcessiveNestedTestSuites": "off",
8593
"noExtraBooleanCast": "warn",
8694
"noFlatMapIdentity": "warn",
8795
"noForEach": "warn",
96+
"noImplicitCoercions": "warn",
8897
"noStaticOnlyClass": "warn",
8998
"noThisInStatic": "warn",
9099
"noUselessCatch": "warn",
@@ -97,6 +106,7 @@
97106
"noUselessLoneBlockStatements": "warn",
98107
"noUselessRename": "warn",
99108
"noUselessStringConcat": "warn",
109+
"noUselessStringRaw": "warn",
100110
"noUselessSwitchCase": "warn",
101111
"noUselessTernary": "warn",
102112
"noUselessThisAlias": "warn",
@@ -106,6 +116,7 @@
106116
"useArrowFunction": "warn",
107117
"useDateNow": "warn",
108118
"useFlatMap": "warn",
119+
"useIndexOf": "warn",
109120
"useLiteralKeys": "warn",
110121
"useNumericLiterals": "warn",
111122
"useOptionalChain": "warn",
@@ -122,6 +133,7 @@
122133
"noConstructorReturn": "warn",
123134
"noEmptyCharacterClassInRegex": "warn",
124135
"noEmptyPattern": "warn",
136+
"noGlobalDirnameFilename": "warn",
125137
"noGlobalObjectCalls": "warn",
126138
"noInnerDeclarations": "warn",
127139
"noInvalidBuiltinInstantiation": "warn",
@@ -130,11 +142,15 @@
130142
"noInvalidGridAreas": "warn",
131143
"noInvalidPositionAtImportRule": "warn",
132144
"noInvalidUseBeforeDeclaration": "warn",
145+
"noNestedComponentDefinitions": "warn",
133146
"noNodejsModules": "warn",
134147
"noNonoctalDecimalEscape": "warn",
135148
"noPrecisionLoss": "warn",
136149
"noPrivateImports": "warn",
150+
"noProcessGlobal": "off",
151+
"noReactPropAssignments": "warn",
137152
"noRenderReturnValue": "warn",
153+
"noRestrictedElements": "off",
138154
"noSelfAssign": "warn",
139155
"noSetterReturn": "warn",
140156
"noStringCaseMismatch": "warn",
@@ -171,15 +187,21 @@
171187
"useHookAtTopLevel": "warn",
172188
"useImportExtensions": "off",
173189
"useIsNan": "warn",
190+
"useJsonImportAttributes": "warn",
174191
"useJsxKeyInIterable": "off",
192+
"useParseIntRadix": "warn",
193+
"useSingleJsDocAsterisk": "warn",
194+
"useUniqueElementIds": "off",
175195
"useValidForDirection": "warn",
176196
"useYield": "warn",
177197
"useValidTypeof": "warn"
178198
},
179199
"performance": {
180200
"noAccumulatingSpread": "warn",
201+
"noAwaitInLoops": "off",
181202
"noBarrelFile": "off",
182203
"noDelete": "warn",
204+
"noDynamicNamespaceImportAccess": "warn",
183205
"noNamespaceImport": "warn",
184206
"noReExportAll": "off",
185207
"useTopLevelRegex": "warn"
@@ -193,6 +215,8 @@
193215
"style": {
194216
"noDefaultExport": "off",
195217
"noDoneCallback": "warn",
218+
"noExportedImports": "off",
219+
"noEnum": "off",
196220
"noImplicitBoolean": "off",
197221
"noInferrableTypes": "warn",
198222
"noNamespace": "warn",
@@ -217,15 +241,20 @@
217241
},
218242
"noRestrictedGlobals": "warn",
219243
"noShoutyConstants": "warn",
244+
"noSubstr": "off",
220245
"noUnusedTemplateLiteral": "warn",
221246
"noUselessElse": "warn",
222247
"noYodaExpression": "warn",
223248
"useArrayLiterals": "warn",
224249
"useAsConstAssertion": "warn",
250+
"useAtIndex": "off",
225251
"useBlockStatements": "off",
226252
"useCollapsedElseIf": "warn",
253+
"useComponentExportOnlyModules": "off",
254+
"useCollapsedIf": "warn",
227255
"useConsistentArrayType": "warn",
228256
"useConsistentBuiltinInstantiation": "warn",
257+
"useConsistentObjectDefinitions": "warn",
229258
"useConst": "warn",
230259
"useDefaultParameterLast": "off",
231260
"useDefaultSwitchClause": "warn",
@@ -242,13 +271,17 @@
242271
"useNodeAssertStrict": "warn",
243272
"useNodejsImportProtocol": "warn",
244273
"useNumberNamespace": "warn",
274+
"useNumericSeparators": "off",
275+
"useObjectSpread": "warn",
245276
"useSelfClosingElements": "warn",
246277
"useShorthandAssign": "warn",
247278
"useShorthandFunctionType": "warn",
248279
"useSingleVarDeclarator": "warn",
280+
"useSymbolDescription": "warn",
249281
"useTemplate": "warn",
250282
"useThrowNewError": "warn",
251-
"useThrowOnlyError": "warn"
283+
"useThrowOnlyError": "warn",
284+
"useTrimStartEnd": "warn"
252285
},
253286
"suspicious": {
254287
"noApproximativeNumericConstant": "warn",
@@ -262,13 +295,15 @@
262295
"noConfusingLabels": "warn",
263296
"noConfusingVoidType": "warn",
264297
"noConsole": "warn",
298+
"noConstantBinaryExpressions": "warn",
265299
"noConstEnum": "warn",
266300
"noControlCharactersInRegex": "warn",
267301
"noDebugger": "warn",
268302
"noDoubleEquals": "warn",
269303
"noDuplicateAtImportRules": "warn",
270304
"noDuplicateCase": "warn",
271305
"noDuplicateClassMembers": "warn",
306+
"noDuplicateElseIf": "warn",
272307
"noDuplicateFontNames": "warn",
273308
"noDuplicateJsxProps": "warn",
274309
"noDuplicateObjectKeys": "warn",
@@ -307,9 +342,13 @@
307342
"noSkippedTests": "warn",
308343
"noSparseArray": "warn",
309344
"noSuspiciousSemicolonInJsx": "warn",
345+
"noTemplateCurlyInString": "warn",
310346
"noThenProperty": "warn",
347+
"noTsIgnore": "warn",
311348
"noUnsafeDeclarationMerging": "warn",
312349
"noUnsafeNegation": "warn",
350+
"noUselessEscapeInString": "warn",
351+
"noUselessRegexBackrefs": "warn",
313352
"noVar": "warn",
314353
"noWith": "warn",
315354
"useAwait": "warn",

eslint.config.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import testingLibrary from 'eslint-plugin-testing-library';
1212
import markdown from '@eslint/markdown';
1313

1414
export default defineConfig([
15-
globalIgnores(['.cache', 'coverage', 'dist', 'lib']),
15+
globalIgnores(['.cache', '.nitro', '.output', '.tanstack', 'coverage', 'dist', 'lib']),
1616

1717
{
1818
linterOptions: {
@@ -745,11 +745,21 @@ export default defineConfig([
745745
rules: {
746746
'markdown/fenced-code-language': 1,
747747
'markdown/heading-increment': 1,
748+
'markdown/no-bare-urls': 1,
749+
'markdown/no-duplicate-definitions': 1,
748750
'markdown/no-duplicate-headings': 0,
751+
'markdown/no-empty-definitions': 1,
752+
'markdown/no-empty-images': 1,
749753
'markdown/no-empty-links': 1,
750754
'markdown/no-html': 0,
751755
'markdown/no-invalid-label-refs': 1,
752-
'markdown/no-missing-label-refs': 1
756+
'markdown/no-missing-atx-heading-space': 1,
757+
'markdown/no-missing-label-refs': 1,
758+
'markdown/no-missing-link-fragments': 1,
759+
'markdown/no-reversed-media-syntax': 1,
760+
'markdown/no-unused-definitions': 1,
761+
'markdown/require-alt-text': 1,
762+
'markdown/table-column-count': 1
753763
}
754764
}
755765
]);

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,45 +53,45 @@
5353
},
5454
"devDependencies": {
5555
"@babel/preset-typescript": "^7.27.1",
56-
"@biomejs/biome": "2.1.3",
57-
"@eslint/markdown": "^7.0.0",
56+
"@biomejs/biome": "2.2.0",
57+
"@eslint/markdown": "^7.1.0",
5858
"@faker-js/faker": "^9.9.0",
59-
"@ianvs/prettier-plugin-sort-imports": "^4.5.1",
59+
"@ianvs/prettier-plugin-sort-imports": "^4.6.2",
6060
"@linaria/core": "^6.3.0",
61-
"@tanstack/react-router": "^1.128.0",
62-
"@tanstack/router-plugin": "^1.128.0",
63-
"@types/node": "^24.0.14",
64-
"@types/react": "^19.1.3",
65-
"@types/react-dom": "^19.1.3",
66-
"@typescript-eslint/eslint-plugin": "^8.37.0",
67-
"@typescript-eslint/parser": "^8.37.0",
68-
"@vitejs/plugin-react-oxc": "^0.3.0",
61+
"@tanstack/react-router": "^1.131.26",
62+
"@tanstack/router-plugin": "^1.131.26",
63+
"@types/node": "^24.3.0",
64+
"@types/react": "^19.1.10",
65+
"@types/react-dom": "^19.1.7",
66+
"@typescript-eslint/eslint-plugin": "^8.39.1",
67+
"@typescript-eslint/parser": "^8.39.1",
68+
"@vitejs/plugin-react": "^5.0.0",
6969
"@vitest/browser": "^3.2.4",
7070
"@vitest/coverage-v8": "^3.2.4",
7171
"@vitest/eslint-plugin": "^1.3.4",
7272
"@wyw-in-js/rollup": "^0.7.0",
7373
"@wyw-in-js/vite": "^0.7.0",
74-
"eslint": "^9.31.0",
74+
"eslint": "^9.33.0",
7575
"eslint-plugin-jest-dom": "^5.5.0",
7676
"eslint-plugin-react": "^7.37.4",
7777
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
7878
"eslint-plugin-react-hooks": "^5.2.0",
79-
"eslint-plugin-react-hooks-extra": "^1.52.3",
79+
"eslint-plugin-react-hooks-extra": "^1.52.6",
8080
"eslint-plugin-sonarjs": "^3.0.4",
81-
"eslint-plugin-testing-library": "^7.6.0",
81+
"eslint-plugin-testing-library": "^7.6.6",
8282
"jspdf": "^3.0.1",
8383
"jspdf-autotable": "^5.0.2",
84-
"playwright": "^1.54.1",
84+
"playwright": "^1.54.2",
8585
"postcss": "^8.5.2",
8686
"prettier": "3.6.2",
87-
"react": "^19.1.0",
88-
"react-dom": "^19.1.0",
89-
"rolldown": "^1.0.0-beta.28",
90-
"rolldown-plugin-dts": "^0.15.1",
87+
"react": "^19.1.1",
88+
"react-dom": "^19.1.1",
89+
"rolldown": "^1.0.0-beta.33",
90+
"rolldown-plugin-dts": "^0.15.6",
9191
"typescript": "~5.9.2",
92-
"vite": "npm:rolldown-vite@^7.0.1",
92+
"vite": "npm:rolldown-vite@^7.1.3",
9393
"vitest": "^3.2.4",
94-
"vitest-browser-react": "^1.0.0"
94+
"vitest-browser-react": "^1.0.1"
9595
},
9696
"peerDependencies": {
9797
"react": "^19.0",

src/DataGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export interface DataGridProps<R, SR = unknown, K extends Key = Key> extends Sha
233233
/**
234234
* Text direction of the grid ('ltr' or 'rtl')
235235
* @default 'ltr'
236-
* */
236+
*/
237237
direction?: Maybe<Direction>;
238238
'data-testid'?: Maybe<string>;
239239
'data-cy'?: Maybe<string>;

src/editors/textEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const textEditorInternalClassname = css`
3333

3434
export const textEditorClassname = `rdg-text-editor ${textEditorInternalClassname}`;
3535

36-
// biome-ignore lint/suspicious/noFunctionAssign: ???
3736
function autoFocusAndSelect(input: HTMLInputElement | null) {
3837
input?.focus();
3938
input?.select();

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { tanstackRouter } from '@tanstack/router-plugin/vite';
2-
import react from '@vitejs/plugin-react-oxc';
2+
import react from '@vitejs/plugin-react';
33
import wyw from '@wyw-in-js/vite';
44
import { defineConfig } from 'vite';
55
import type { BrowserCommand } from 'vitest/node';

0 commit comments

Comments
 (0)