Skip to content

Commit a2628a3

Browse files
lbogdanCompuIves
authored andcommitted
Upgraded eslint-plugin-react to 7.4.0. (codesandbox#229)
1 parent 3dee38b commit a2628a3

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
"eslint-plugin-flowtype": "^2.34.0",
4141
"eslint-plugin-import": "^2.3.0",
4242
"eslint-plugin-jsx-a11y": "^5.0.3",
43-
"eslint-plugin-react":
44-
"https://github.com/yannickcr/eslint-plugin-react.git#master",
43+
"eslint-plugin-react": "^7.4.0",
4544
"express": "^4.15.3",
4645
"extract-text-webpack-plugin": "^2.1.0",
4746
"file-loader": "^0.11.1",

src/app/components/sandbox/CodeEditor/monaco/workers/utils/monkeypatch-babel-eslint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable no-underscore-dangle, global-require, no-var, vars-on-top, no-param-reassign, prefer-arrow-callback, no-func-names, no-continue, no-use-before-define, no-plusplus, prefer-spread, prefer-rest-params, no-multi-assign */
1+
/* eslint-disable no-underscore-dangle, global-require, no-var, vars-on-top, no-param-reassign, prefer-arrow-callback, no-func-names, no-continue, no-use-before-define, no-plusplus, prefer-spread, prefer-rest-params, no-multi-assign, func-names */
22

33
const t = require('babel-types');
44

src/app/components/sandbox/ModeIcons.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ type Props = {
119119
setEditorView: () => void,
120120
setPreviewView: () => void,
121121
setMixedView: () => void,
122-
noPreview: ?boolean,
123122
dropdown: boolean,
124123
};
125124

src/app/containers/Deployment/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import styled, { keyframes } from 'styled-components';
55

66
import type { CurrentUser } from 'common/types';
77
import { currentUserSelector } from 'app/store/user/selectors';
8-
import userActionCreators from 'app/store/user/actions';
98
import sandboxActionCreators from 'app/store/entities/sandboxes/actions';
109

1110
import ZeitIntegration from 'app/containers/integrations/Zeit';
@@ -151,7 +150,6 @@ const DeploymentManagementNotice = styled.div`
151150
type Props = {
152151
id: string,
153152
user: CurrentUser,
154-
userActions: typeof userActionCreators,
155153
sandboxActions: typeof sandboxActionCreators,
156154
};
157155
type State = {
@@ -160,7 +158,6 @@ type State = {
160158
};
161159

162160
const mapDispatchToProps = dispatch => ({
163-
userActions: bindActionCreators(userActionCreators, dispatch),
164161
sandboxActions: bindActionCreators(sandboxActionCreators, dispatch),
165162
});
166163
const mapStateToProps = state => ({

src/app/pages/auth/Zeit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type State = {
1414
redirect: ?string,
1515
};
1616

17-
export default class ZeitSignIn extends React.PureComponent<State> {
17+
export default class ZeitSignIn extends React.PureComponent<void, State> {
1818
constructor(props) {
1919
super(props);
2020

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3213,9 +3213,9 @@ eslint-plugin-jsx-a11y@^5.0.3:
32133213
emoji-regex "^6.1.0"
32143214
jsx-ast-utils "^1.4.0"
32153215

3216-
"eslint-plugin-react@https://github.com/yannickcr/eslint-plugin-react.git#master":
3217-
version "7.3.0"
3218-
resolved "https://github.com/yannickcr/eslint-plugin-react.git#94fbe6f3cf8a21a6d3c70146bdca6c3dd16a911b"
3216+
eslint-plugin-react@^7.4.0:
3217+
version "7.4.0"
3218+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.4.0.tgz#300a95861b9729c087d362dd64abcc351a74364a"
32193219
dependencies:
32203220
doctrine "^2.0.0"
32213221
has "^1.0.1"
@@ -5326,8 +5326,8 @@ jsx-ast-utils@^1.4.0:
53265326
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1"
53275327

53285328
jsx-ast-utils@^2.0.0:
5329-
version "2.0.0"
5330-
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.0.tgz#ec06a3d60cf307e5e119dac7bad81e89f096f0f8"
5329+
version "2.0.1"
5330+
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f"
53315331
dependencies:
53325332
array-includes "^3.0.3"
53335333

0 commit comments

Comments
 (0)