Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
This commit is contained in:
@@ -328,7 +328,7 @@ class User {
|
||||
name,
|
||||
options,
|
||||
response.statusCode,
|
||||
response.headers['location'],
|
||||
response.headers.location,
|
||||
body
|
||||
])
|
||||
)
|
||||
|
||||
@@ -152,7 +152,7 @@ class UserHelper {
|
||||
* @returns {string} baseUrl
|
||||
*/
|
||||
static baseUrl() {
|
||||
return `http://${process.env['HTTP_TEST_HOST'] || 'localhost'}:3000`
|
||||
return `http://${process.env.HTTP_TEST_HOST || 'localhost'}:3000`
|
||||
}
|
||||
|
||||
/* static async instantiation methods */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// TODO: This file was created by bulk-decaffeinate.
|
||||
// Sanity-check the conversion and remove this comment.
|
||||
const BASE_URL = `http://${process.env['HTTP_TEST_HOST'] || 'localhost'}:3000`
|
||||
const BASE_URL = `http://${process.env.HTTP_TEST_HOST || 'localhost'}:3000`
|
||||
const request = require('request').defaults({
|
||||
baseUrl: BASE_URL,
|
||||
followRedirect: false
|
||||
|
||||
Reference in New Issue
Block a user