Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): upgrade ESLint to the latest version #10756

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export default [
'**/css',
'packages/react-core/src/helpers/Popper/thirdparty',
'packages/react-docs/patternfly-docs/generated',
'packages/react-docs/static',
// The Rollup configurations contain syntax not supported by ESLint, so ignore them for now.
'**/rollup.*.mjs'
'packages/react-docs/static'
]
},
js.configs.recommended,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/react-dom": "^18.3.0",
"babel-jest": "^29.7.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint": "^9.7.0",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.4",
Expand Down Expand Up @@ -89,9 +89,9 @@
"clean:build": "rimraf .cache .eslintcache coverage",
"clean:exports": "lerna run clean:exports --parallel --stream",
"generate": "yarn plop",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint . --cache --cache-strategy content",
"lint": "eslint . --cache --cache-strategy content",
"lint:all": "yarn lint:md && yarn lint:ts",
"lint:md": "ESLINT_USE_FLAT_CONFIG=true eslint \"**/*.md\" --config eslint.config-md.mjs --cache --cache-strategy content --no-warn-ignored",
"lint:md": "eslint \"**/*.md\" --config eslint.config-md.mjs --cache --cache-strategy content --no-warn-ignored",
"lint:ts": "yarn lint packages/*/src",
"lint:tests": "yarn lint packages/*/src/components/*/__tests__/*.test.*",
"postinstall": "ts-patch install -s && husky",
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup.base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import svg from 'rollup-plugin-svg';
const isProduction = process.env.IS_PRODUCTION;
let exitCode = 0;

/** @returns {import('rollup').Plugin} */
/** @returns {import('rollup').Plugin} */
function circularFailPlugin() {
return {
name: 'circluarFailPlugin',
Expand Down
Loading
Loading