Skip to content

Commit 9a72ea2

Browse files
committed
Use object shorthand for properties
1 parent f2f766e commit 9a72ea2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Linter (opts) {
4343

4444
this.eslintConfig = Object.assign({
4545
cache: true,
46-
cacheLocation: cacheLocation,
46+
cacheLocation,
4747
envs: [],
4848
fix: false,
4949
globals: [],

test/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function getStandard () {
66
return new Linter({
77
cmd: 'pocketlint',
88
version: '0.0.0',
9-
eslint: eslint,
9+
eslint,
1010
eslintConfig: require('../tmp/standard/options').eslintConfig
1111
})
1212
}

test/lib/standard-cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var eslint = require('eslint')
44
var opts = {
55
cmd: 'pocketlint',
66
version: '0.0.0',
7-
eslint: eslint,
7+
eslint,
88
eslintConfig: {
99
configFile: path.join(__dirname, 'standard.json'),
1010
useEslintrc: false

0 commit comments

Comments
 (0)