lib/utils.ts
Avoid too many return
statements within this function. Open
Open
return { enabled: false, disabledBecause: 'Safety Mode' }
Avoid too many return
statements within this function. Open
Open
return { enabled: true, disabledBecause: null }
Avoid too many return
statements within this function. Open
Open
return { enabled: false, disabledBecause: 'Gitpod' }
Avoid too many return
statements within this function. Open
Open
return { enabled: false, disabledBecause: 'Windows' }
TODO found Open
Open
export const contains = (str: string, element: string) => str ? str.includes(element) : false // TODO Inline all usages as this function is not adding any functionality to String.includes
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME Ignoring any type issue on purpose
- Exclude checks
FIXME found Open
Open
// import isGitpod from 'is-gitpod') // FIXME Roll back to this when https://github.com/dword-design/is-gitpod/issues/94 is resolve
- Exclude checks