Skip to content

Commit

Permalink
downgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmahajan7 committed Jan 29, 2025
1 parent f2b998b commit 5b35bca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ import markdown from '@eslint/markdown';

export default [
{
ignores: ['.cache', 'coverage', 'dist', 'lib'],

linterOptions: {
reportUnusedInlineConfigs: 'warn'
}
ignores: ['.cache', 'coverage', 'dist', 'lib']
},
{
name: 'common',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@wyw-in-js/rollup": "^0.5.0",
"@wyw-in-js/vite": "^0.5.0",
"browserslist": "^4.24.4",
"eslint": "^9.19.0",
"eslint": "9.18.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-compiler": "^19.0.0-beta-27714ef-20250124",
Expand Down
2 changes: 0 additions & 2 deletions src/DataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,6 @@ function DataGrid<R, SR, K extends Key>(
// Reset the positions if the current values are no longer valid. This can happen if a column or row is removed
if (selectedPosition.idx > maxColIdx || selectedPosition.rowIdx > maxRowIdx) {
setSelectedPosition({ idx: -1, rowIdx: minRowIdx - 1, mode: 'SELECT' });
// eslint-disable-next-line react-compiler/react-compiler
setDraggedOverRowIdx(undefined);
}

Expand Down Expand Up @@ -1186,7 +1185,6 @@ function DataGrid<R, SR, K extends Key>(
);
})}
<RowSelectionChangeProvider value={selectRowLatest}>
{/* eslint-disable-next-line react-compiler/react-compiler */}
{getViewportRows()}
</RowSelectionChangeProvider>
{bottomSummaryRows?.map((row, rowIdx) => {
Expand Down
2 changes: 1 addition & 1 deletion src/TreeDataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ function TreeDataGrid<R, SR, K extends Key>(
}

return (
<DataGrid<R, SR, Key>
<DataGrid<R, SR>
{...props}
role="treegrid"
aria-rowcount={
Expand Down

0 comments on commit 5b35bca

Please sign in to comment.