Skip to content

Commit

Permalink
Fix eslint warning & downgrade eslint react plugin
Browse files Browse the repository at this point in the history
There were some false positives when checking for destructuring:
jsx-eslint/eslint-plugin-react#3001 (comment)
  • Loading branch information
ThiefMaster authored and duartegalvao committed Dec 6, 2021
1 parent ed70217 commit 68a2a6c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 68 deletions.
Expand Up @@ -11,7 +11,7 @@ import React from 'react';
import {Form, Header, Tab} from 'semantic-ui-react';

import {ACLField} from 'indico/react/components';
import {FinalField, FinalRadio, parsers as p} from 'indico/react/forms';
import {FinalField, FinalRadio} from 'indico/react/forms';
import {Translate} from 'indico/react/i18n';

export default function RoomEditPermissions({
Expand Down
75 changes: 9 additions & 66 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
Expand Up @@ -121,7 +121,7 @@
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react": "~7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"husky": "^4.3.8",
Expand Down

0 comments on commit 68a2a6c

Please sign in to comment.