diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 43551035..ec3dc44b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -50,5 +50,9 @@ jobs: GIT_TERMINAL_PROMPT: 0 run: yarn install --immutable + - name: Auto-fix formatting + run: yarn lint:fix + continue-on-error: true + - name: Check linting run: yarn lint diff --git a/src/Utils/cache-utils.ts b/src/Utils/cache-utils.ts index 023a5ada..c13793f1 100644 --- a/src/Utils/cache-utils.ts +++ b/src/Utils/cache-utils.ts @@ -469,8 +469,8 @@ export function cached(options: CacheOptions & { keyGenerator?: (...args: * Wrapper for function with cache */ -// eslint-disable-next-line prettier/prettier -export function withCache unknown>( +// eslint-disable-next-line space-before-function-paren +export function withCache unknown>( fn: T, options: CacheOptions> & { keyGenerator?: (...args: Parameters) => string } = {} ): T {