replaced eslint:recommended with prettier

This commit is contained in:
Wyatt Johnson
2018-01-11 20:00:34 -07:00
parent d56c19016a
commit 0abc2ca243
649 changed files with 16235 additions and 13008 deletions
+4 -7
View File
@@ -1,11 +1,8 @@
const {
ROOT_URL,
ROOT_URL_MOUNT_PATH,
STATIC_URI,
} = require('./config');
const {URL} = require('url');
const { ROOT_URL, ROOT_URL_MOUNT_PATH, STATIC_URI } = require('./config');
const { URL } = require('url');
const trailingSlash = (url) => url && url.length > 0 && url[url.length - 1] === '/' ? url : `${url}/`;
const trailingSlash = url =>
url && url.length > 0 && url[url.length - 1] === '/' ? url : `${url}/`;
// Set the BASE_URL as the ROOT_URL, here we derive the root url by ensuring
// that it ends in a `/`.