Skip to content

Commit

Permalink
[Dev Deps] update eslint-plugin-eslint-plugin to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish authored and ljharb committed Aug 19, 2022
1 parent bb999c2 commit 11dc75e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/rules/jsx-uses-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const docsUrl = require('../util/docsUrl');
// ------------------------------------------------------------------------------

module.exports = {
// eslint-disable-next-line eslint-plugin/prefer-message-ids -- https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/issues/292
meta: {
docs: {
description: 'Prevent React to be marked as unused',
Expand Down
1 change: 1 addition & 0 deletions lib/rules/jsx-uses-vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const isTagNameRe = /^[a-z]/;
const isTagName = (name) => isTagNameRe.test(name);

module.exports = {
// eslint-disable-next-line eslint-plugin/prefer-message-ids -- https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/issues/292
meta: {
docs: {
description: 'Prevent variables used in JSX to be marked as unused',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"babel-eslint": "^8 || ^9 || ^10.1.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1",
"eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1 || ^5.0.5",
"eslint-plugin-import": "^2.26.0",
"eslint-remote-tester": "^3.0.0",
"eslint-remote-tester-repositories": "^0.0.6",
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/rules/no-invalid-html-attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ ruleTester.run('no-invalid-html-attribute', rule, {
},
{
code: 'React.createElement("a", { rel: "alternatex" })',
output: 'React.createElement("a", { rel: "alternatex" })',
output: null,
errors: [
{
messageId: 'neverValid',
Expand All @@ -262,7 +262,7 @@ ruleTester.run('no-invalid-html-attribute', rule, {
},
{
code: 'React.createElement("a", { rel: ["alternatex"] })',
output: 'React.createElement("a", { rel: ["alternatex"] })',
output: null,
errors: [
{
messageId: 'neverValid',
Expand Down

0 comments on commit 11dc75e

Please sign in to comment.