Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
(#44) - Upgrade babel-eslint
Browse files Browse the repository at this point in the history
- builds did't work completely due to a transitive dependency in older
version of babel-eslint
(babel/babel-eslint#243)
- fixed some lint issues from the debug lib removal that were masked by
build issue
  • Loading branch information
natoverse committed Dec 28, 2016
1 parent ea5d791 commit 53786f6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/components/MyProjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const MyProjects = React.createClass({
.then((projects) => {
this.setState({projects: projects, loading: false});
})
.catch((err) => {
.catch(() => {
this.setState({loading: false});
});
},
Expand Down
2 changes: 1 addition & 1 deletion client/components/OrgProjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const OrgProjects = React.createClass({
.then((projects) => {
this.setState({projects: projects, loading: false});
})
.catch((err) => {
.catch(() => {
this.setState({loading: false});
});
},
Expand Down
2 changes: 1 addition & 1 deletion client/components/Skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Skeleton = React.createClass({
this.state = {projects: [], loading: true};
return this.context.stores.users.getCurrentUser()
.then((user) => this.setState({user, loading: false}))
.catch((err) => {
.catch(() => {
this.setState({loading: false});
});
},
Expand Down
2 changes: 1 addition & 1 deletion client/components/UserProjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const UserProjects = React.createClass({
.then((projects) => {
this.setState({projects: projects, loading: false});
})
.catch((err) => {
.catch(() => {
this.setState({loading: false});
});
},
Expand Down
2 changes: 1 addition & 1 deletion client/stores/project_store.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const request = require('superagent-bluebird-promise');

function getReposFromUrl(url) {
return request.get(url)
.then((res) => res.body));
.then(res => res.body);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion client/stores/user_store.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class UserStore {
this.state.currentUser = {result: res.body};
return res.body;
})
.catch((err) => {
.catch(() => {
this.state.currentUser = {result: null};
return null;
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"keywords": [],
"devDependencies": {
"aliasify": "^1.8.0",
"babel-eslint": "4.0.10",
"babel-eslint": "7.1.1",
"babelify": "^6.1.3",
"browserify": "^11.0.0",
"browserify-shim": "^3.8.10",
Expand Down

0 comments on commit 53786f6

Please sign in to comment.