Skip to content

Commit e9a36a6

Browse files
committed
update dependencies & lint
1 parent b410e72 commit e9a36a6

19 files changed

Lines changed: 152 additions & 75 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,18 @@
163163
"babel-jest": "^18.0.0",
164164
"babel-loader": "^6.2.10",
165165
"babel-plugin-typecheck": "^3.9.0",
166-
"better-npm-run": "^0.0.13",
166+
"better-npm-run": "^0.0.14",
167167
"bootstrap-loader": "git+https://github.com/bertho-zero/bootstrap-loader.git#patch-2-build",
168168
"bootstrap-sass": "^3.3.7",
169169
"chai": "^3.5.0",
170170
"clean-webpack-plugin": "^0.1.14",
171171
"concurrently": "^3.1.0",
172172
"css-loader": "^0.26.1",
173173
"eslint": "^3.12.2",
174-
"eslint-config-airbnb": "^13.0.0",
174+
"eslint-config-airbnb": "^14.0.0",
175175
"eslint-loader": "^1.6.1",
176176
"eslint-plugin-import": "^2.2.0",
177-
"eslint-plugin-jsx-a11y": "^2.2.3",
177+
"eslint-plugin-jsx-a11y": "^3.0.2",
178178
"eslint-plugin-react": "^6.8.0",
179179
"extract-text-webpack-plugin": "^2.0.0-beta.4",
180180
"file-loader": "^0.9.0",
@@ -189,7 +189,7 @@
189189
"karma-mocha-reporter": "^2.2.1",
190190
"karma-phantomjs-launcher": "^1.0.2",
191191
"karma-sourcemap-loader": "^0.3.7",
192-
"karma-webpack": "^1.8.0",
192+
"karma-webpack": "^2.0.1",
193193
"less": "^2.7.1",
194194
"less-loader": "^2.2.3",
195195
"lighthouse": "^1.2.2",

src/components/CounterButton/CounterButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { increment } from 'redux/modules/counter';
99
)
1010
export default class CounterButton extends Component {
1111
static propTypes = {
12-
count: PropTypes.number,
12+
count: PropTypes.number.isRequired,
1313
increment: PropTypes.func.isRequired,
1414
className: PropTypes.string
1515
}

src/components/FacebookLogin/FacebookLogin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ class FacebookLogin extends React.Component {
77
xfbml: PropTypes.bool,
88
cookie: PropTypes.bool,
99
scope: PropTypes.string,
10-
autoLoad: PropTypes.bool,
10+
autoLoad: PropTypes.bool.isRequired,
1111
version: PropTypes.string,
1212
language: PropTypes.string,
1313
textButton: PropTypes.string,
1414
typeButton: PropTypes.string,
1515
className: PropTypes.string,
16-
component: PropTypes.func
16+
component: PropTypes.func.isRequired
1717
};
1818

1919
static defaultProps = {

src/components/GithubButton/GithubButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export default class GithubButton extends Component {
77
type: PropTypes.oneOf(['star', 'watch', 'fork', 'follow']).isRequired,
88
width: PropTypes.number.isRequired,
99
height: PropTypes.number.isRequired,
10-
count: PropTypes.bool,
11-
large: PropTypes.bool
10+
count: PropTypes.bool.isRequired,
11+
large: PropTypes.bool.isRequired
1212
};
1313

1414
render() {

src/components/InfoBar/InfoBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { load } from 'redux/modules/info';
77
{ load })
88
export default class InfoBar extends Component {
99
static propTypes = {
10-
info: PropTypes.object,
10+
info: PropTypes.object.isRequired,
1111
load: PropTypes.func.isRequired
1212
}
1313

src/components/MiniInfoBar/MiniInfoBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { connect } from 'react-redux';
44
@connect(state => ({ time: state.info.data.time }))
55
export default class MiniInfoBar extends Component {
66
static propTypes = {
7-
time: PropTypes.number
7+
time: PropTypes.number.isRequired
88
}
99

1010
render() {

src/components/Notifs/Notifs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default class Notifs extends Component {
88
static propTypes = {
99
notifs: PropTypes.array.isRequired,
1010
NotifComponent: PropTypes.func.isRequired,
11-
className: PropTypes.string
11+
className: PropTypes.string.isRequired
1212
};
1313

1414
render() {

src/components/SurveyForm/SurveyForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function asyncValidate(data, dispatch) {
2323
export default
2424
class SurveyForm extends Component {
2525
static propTypes = {
26-
active: PropTypes.string,
26+
active: PropTypes.string.isRequired,
2727
asyncValidating: PropTypes.oneOfType([
2828
PropTypes.bool,
2929
PropTypes.string

src/components/WidgetForm/WidgetForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class WidgetForm extends Component {
2323
pristine: PropTypes.bool.isRequired,
2424
save: PropTypes.func.isRequired,
2525
submitting: PropTypes.bool.isRequired,
26-
saveError: PropTypes.object,
26+
saveError: PropTypes.object.isRequired,
2727
form: PropTypes.string.isRequired,
2828
values: PropTypes.object.isRequired
2929
};

src/containers/About/About.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ export default class About extends Component {
2424
<Helmet title="About Us" />
2525

2626
<p>This project was originally created by Erik Rasmussen
27-
(<a href="https://twitter.com/erikras" target="_blank">@erikras</a>), but has since seen many contributions
28-
from the open source community. Thank you to{' '}
29-
<a href="https://github.com/erikras/react-redux-universal-hot-example/graphs/contributors" target="_blank">
27+
(<a href="https://twitter.com/erikras" target="_blank" rel="noopener noreferrer">@erikras</a>), but has since
28+
seen many contributions from the open source community. Thank you to{' '}
29+
<a
30+
href="https://github.com/erikras/react-redux-universal-hot-example/graphs/contributors"
31+
target="_blank"
32+
rel="noopener noreferrer"
33+
>
3034
all the contributors
3135
</a>.
3236
</p>

0 commit comments

Comments
 (0)