chore(examples): remove unused eslint-loader from examples/eslint #3123
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.
Summary
eslint-loader is deprecated by the way.
馃 Generated by Copilot at 65a51d1
This pull request updates the code quality tools and configuration for the
examples/eslint
project. It upgradeseslint
andeslint-rspack-plugin
to the latest versions, fixes some dependency issues in the lockfile, and applies the new linting rules to the code.Walkthrough
馃 Generated by Copilot at 65a51d1
eslint
andeslint-rspack-plugin
dependencies to latest versions inexamples/eslint/package.json
(link,link)eslint
andeslint-rspack-plugin
dependencies inpnpm-lock.yaml
withexamples/eslint/package.json
(link,link)pnpm-lock.yaml
, such as@babel/code-frame
,acorn-jsx
,functional-red-black-tree
,ignore
,object-hash
,regexpp
, andv8-compile-cache
(link,link,link,link,link,link,link)pnpm-lock.yaml
, such as@eslint-community/eslint-utils
,@eslint-community/regexpp
,@eslint/js
, andjs-sdsl
, which are required byeslint
version 8 (link,link,link,link)pnpm-lock.yaml
to match the new versions ofeslint
andeslint-rspack-plugin
, such as@eslint/eslintrc
,@humanwhocodes/config-array
,espree
, andschema-utils
(link,link,link,link,link,link,link)@jest/types
andjest-util
dependencies inpnpm-lock.yaml
to version 29.5.0, which is a minor update with some bug fixes and enhancements (link,link,link,link,link,link,link,link,link,link,link,link,link,link)dev
property inpnpm-lock.yaml
for@jest/fake-timers
and@jest/source-map
dependencies, to correctly reflect their usage as development or production dependencies (link,link)eslint-loader
andeslint
dependencies frompnpm-lock.yaml
forexamples/eslint
project, as they are no longer used (link)