Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 4, 2018
1 parent f1f1c59 commit be7bdad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
environment:
matrix:
- nodejs_version: '10'
- nodejs_version: '8'
- nodejs_version: '6'
install:
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable node/no-deprecated-api */
'use strict';
const fs = require('fs');
const path = require('path');
Expand Down Expand Up @@ -49,7 +50,7 @@ class Conf {
const store = Object.assign(plainObject(), options.defaults, fileStore);
try {
assert.deepEqual(fileStore, store);
} catch (e) {
} catch (_) {
this.store = store;
}
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"write-file-atomic": "^2.3.0"
},
"devDependencies": {
"ava": "*",
"clear-module": "^2.1.0",
"ava": "^0.25.0",
"clear-module": "^3.0.0",
"del": "^3.0.0",
"tempy": "^0.2.1",
"xo": "*"
"xo": "^0.23.0"
}
}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ $ npm install conf

```js
const Conf = require('conf');

const config = new Conf();

config.set('unicorn', '🦄');
Expand Down

0 comments on commit be7bdad

Please sign in to comment.