Skip to content

Commit

Permalink
chore(deps): upgrade ESLint to the latest version (#10756)
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <jonkoops@gmail.com>
  • Loading branch information
jonkoops authored Jul 16, 2024
1 parent c89fceb commit f38d2ec
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 105 deletions.
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

0 comments on commit f38d2ec

Please sign in to comment.