Confiure eslint package and fix lint issues
This commit is contained in:
parent
6c50aa14ad
commit
9bb1f99bd9
9 changed files with 634 additions and 112 deletions
|
@ -18,7 +18,7 @@ import request from 'browser-request';
|
|||
|
||||
// Load the config file. First try to load up a domain-specific config of the
|
||||
// form "config.$domain.json" and if that fails, fall back to config.json.
|
||||
export async function getVectorConfig(relativeLocation: string='') {
|
||||
export async function getVectorConfig(relativeLocation='') {
|
||||
if (relativeLocation !== '' && !relativeLocation.endsWith('/')) relativeLocation += '/';
|
||||
|
||||
const specificConfigPromise = getConfig(`${relativeLocation}config.${document.domain}.json`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue