Skip to content

Commit badf0a1

Browse files
kibertoadbrianc
authored andcommitted
Update ESLint (brianc#1753)
* Update ESLint * Downgrade ESLint version to restore Node 4 support * Downgrade more dependencies * Keep downgrading
1 parent 1cf1e05 commit badf0a1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/connection-parameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ ConnectionParameters.prototype.getLibpqConnectionString = function (cb) {
8787
add(params, this, 'application_name')
8888
add(params, this, 'fallback_application_name')
8989

90-
var ssl = typeof this.ssl === 'object' ? this.ssl : {sslmode: this.ssl}
90+
var ssl = typeof this.ssl === 'object' ? this.ssl : { sslmode: this.ssl }
9191
add(params, ssl, 'sslmode')
9292
add(params, ssl, 'sslca')
9393
add(params, ssl, 'sslkey')

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"async": "0.9.0",
3232
"bluebird": "3.5.2",
3333
"co": "4.6.0",
34-
"eslint": "4.2.0",
35-
"eslint-config-standard": "10.2.1",
36-
"eslint-plugin-import": "2.7.0",
37-
"eslint-plugin-node": "5.1.0",
38-
"eslint-plugin-promise": "3.5.0",
39-
"eslint-plugin-standard": "3.0.1",
34+
"eslint": "^4.19.1",
35+
"eslint-config-standard": "^11.0.0",
36+
"eslint-plugin-import": "^2.14.0",
37+
"eslint-plugin-node": "^6.0.1",
38+
"eslint-plugin-promise": "^4.0.1",
39+
"eslint-plugin-standard": "^3.1.0",
4040
"pg-copy-streams": "0.3.0"
4141
},
4242
"minNativeVersion": "2.0.0",

0 commit comments

Comments
 (0)