Skip to content

Commit

Permalink
Bump eslint to v4, eslint-plugin-coorpacademy to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Jun 29, 2017
1 parent 78b2cfa commit dd03316
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@coorpacademy/coorpacademy"
],
"rules": {
"promise/no-native": 0
"promise/no-native": "off"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rxjs": "^5.0.0-beta.7"
},
"devDependencies": {
"@coorpacademy/eslint-plugin-coorpacademy": "^5.0.0",
"@coorpacademy/eslint-plugin-coorpacademy": "^6.0.1",
"ava": "^0.16.0",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
Expand All @@ -48,7 +48,7 @@
"babel-preset-stage-1": "^6.16.0",
"babel-register": "^6.18.0",
"coveralls": "^2.11.15",
"eslint": "^3.10.2",
"eslint": "^4.1.1",
"nyc": "^9.0.1"
},
"ava": {
Expand Down
4 changes: 3 additions & 1 deletion src/bin/etcd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {resolve} from 'path';
import {pick} from 'lodash/fp';
import Etcd from 'node-etcd';

export default argz => {
const makeEtcdClient = argz => {
const hosts = argz.hosts || 'http://localhost:2379';

const etcdOptions = !argz.ca ? {} : {ca: readFileSync(resolve(process.cwd(), argz.ca))};
Expand All @@ -12,3 +12,5 @@ export default argz => {

return client;
};

export default makeEtcdClient;

0 comments on commit dd03316

Please sign in to comment.