Skip to content

Commit

Permalink
feat(deps): update dependency eslint-plugin-react to ^7.37.2 (#179)
Browse files Browse the repository at this point in the history
* feat(deps): update dependency eslint-plugin-react to ^7.37.2

* fix: type failures in react plugin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
  • Loading branch information
renovate[bot] and voxpelli authored Dec 9, 2024
1 parent dcf46c8 commit 11380cb
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 57 deletions.
5 changes: 2 additions & 3 deletions lib/configs/jsx.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

// @ts-ignore
const react = require('eslint-plugin-react')
const reactPlugin = require('eslint-plugin-react')

const JSX_IGNORES = ['**/*.js', '**/*.mjs', '**/*.cjs', '**/*.ts']

Expand All @@ -19,7 +18,7 @@ module.exports.jsx = /** @satisfies {import('eslint').Linter.Config} */ ({
},

plugins: {
react,
react: /** @type {import('eslint').ESLint.Plugin} */ (reactPlugin),
},

settings: {
Expand Down
141 changes: 88 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.14.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react": "^7.37.2",
"find-up": "^5.0.0",
"globals": "^15.13.0",
"peowly": "^1.3.2",
Expand Down

0 comments on commit 11380cb

Please sign in to comment.