mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-06-26 06:34:56 +02:00
Disable no-useless-concat eslint rule for backendConfiguration.js
This commit is contained in:
parent
362105cf98
commit
3e0ad424b8
|
@ -11,8 +11,11 @@ const isCurrentAddress = (address) => {
|
|||
return is;
|
||||
}
|
||||
|
||||
// Concat to prevent double string replacement.
|
||||
/*eslint-disable no-useless-concat */
|
||||
export const baseAddress = "PLAN_BASE" + "_ADDRESS" === javaReplaced.address || !isCurrentAddress(javaReplaced.address) ? "" : javaReplaced.address;
|
||||
export const staticSite = "PLAN_EXPORTED" + "_VERSION" !== javaReplaced.isStatic;
|
||||
/*eslint-enable no-useless-concat */
|
||||
|
||||
export const doSomeGetRequest = async (url, statusOptions) => {
|
||||
return doSomeRequest(url, statusOptions, async () => axios.get(url));
|
||||
|
|
Loading…
Reference in New Issue
Block a user