Upgrade Nextjs and remove eslint and prettier#116
Open
gauravwarale wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request migrates the web workspace from ESLint/Prettier to Oxlint/Oxfmt, updates related scripts/config, and includes a Next.js + UI dependency bump alongside small formatting/classname cleanups across several components.
Changes:
- Replace ESLint/Prettier configuration with
.oxlintrc.json/.oxfmtrc.jsonand updateweb/package.jsonscripts/deps accordingly. - Upgrade key web dependencies (notably
nextand@patterninc/react-ui). - Apply minor formatting/Tailwind class ordering and whitespace cleanups across UI components and CSS.
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| web/package.json | Switch scripts to oxlint/oxfmt and update deps (Next.js / react-ui / tooling). |
| web/.oxlintrc.json | Add Oxlint configuration (plugins, categories, ignore patterns). |
| web/.oxfmtrc.json | Add Oxfmt configuration (quotes, width, tailwind sorting). |
| web/eslint.config.mjs | Remove ESLint flat config. |
| web/.eslintrc.json | Remove legacy ESLint config. |
| web/.prettierrc | Remove Prettier config. |
| web/.prettierignore | Remove Prettier ignore file. |
| web/src/common/ClientLayout/ClientLayout.tsx | Formatting-only adjustments to dynamic import options. |
| web/src/common/AutoRefreshSelect/AutoRefreshSelect.tsx | Minor JSX formatting + Tailwind class ordering. |
| web/src/app/globals.css | Remove stray whitespace line. |
| web/src/components/Header/Header.tsx | Normalize quoting/className ordering. |
| web/src/components/ErrorPage/ErrorPage.tsx | Tailwind class ordering cleanup. |
| web/src/components/NavigationBar/LeftNavBar.tsx | Remove stray whitespace and reorder Tailwind classes. |
| web/src/modules/Commands/CommandDetails/CommandInformationPane.tsx | Remove stray whitespace in imports. |
| web/src/modules/Commands/CommandDetails/CommandDetails.tsx | Tailwind class ordering cleanup. |
| web/src/modules/Commands/CommandDetails/CommandDetailsHeader.tsx | Tailwind class ordering/formatting cleanup. |
| web/src/modules/Clusters/ClustersDetails/ClustersDetails.tsx | Tailwind class ordering cleanup. |
| web/src/modules/Clusters/ClustersDetails/ClustersDetailsHeader.tsx | Tailwind class ordering/formatting cleanup. |
| web/src/modules/Jobs/JobDetails/JobDetails.tsx | Tailwind class ordering cleanup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
prasadlohakpure
approved these changes
Jul 2, 2026
Josh Diaz (JoshMDiaz)
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request migrates the project from ESLint and Prettier to the new Oxlint and Oxfmt tools for linting and formatting, and updates related configuration and scripts. It also includes dependency updates and several minor code and style cleanups across components.
Tooling migration and configuration:
Replaced ESLint and Prettier with Oxlint and Oxfmt, removing
.eslintrc.json,.prettierrc, and.prettierignore, and adding.oxlintrc.jsonand.oxfmtrc.jsonfor the new tools. Corresponding scripts inpackage.jsonwere updated to useoxlintandoxfmtinstead ofeslintandprettier. [1] [2] [3] [4] [5] [6] [7] [8]Updated dev dependencies in
package.jsonto remove ESLint and Prettier related packages and addoxlintandoxfmt.Dependency updates:
@patterninc/react-uifrom^5.0.3to^5.0.8andnextfrom^16.1.6to^16.2.9.Component and style cleanups:
Standardized Tailwind class order and improved readability in multiple components, such as
AutoRefreshSelect,ErrorPage,Header,LeftNavBar,ClustersDetails,ClustersDetailsHeader,CommandDetails,CommandDetailsHeader, andJobDetails. [1] [2] [3] [4] [5] [6] [7] [8] [9]Minor import and formatting cleanups in several files to align with new linting/formatting rules. [1] [2] [3] [4] [5] [6]
These changes streamline the development workflow by adopting faster and more modern linting and formatting tools, while also ensuring consistency and maintainability in code style and dependencies.