Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit cf66976

Browse files
committed
chore: fix linting
1 parent 2cadbb3 commit cf66976

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"test:node": "aegir test --target node",
3737
"test:browser": "aegir test --target browser",
3838
"build": "aegir build",
39-
"lint": "aegir ts -p check && aegir lint --files './src/**/*.{js,ts}' --files './migrations/**/*.{js,ts}' --files '!migrations/migration-9/pin.js' --files '!migrations/migration-9/pin.d.ts'",
39+
"lint": "aegir ts -p check && aegir lint",
4040
"release": "aegir release --docs",
4141
"release-minor": "aegir release --type minor --docs",
4242
"release-major": "aegir release --type major --docs",

test/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('index.js', () => {
8181
* @type {import('sinon').SinonStub}
8282
*/
8383
let lockCloseStub
84-
let repoOptions = {
84+
const repoOptions = {
8585
repoLock: {
8686
locked: () => Promise.resolve(false),
8787
lock: () => Promise.resolve({

test/types.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Backends } from '../src/types'
22

3-
4-
export type SetupFunction = (prefix?: string) => Promise<{ dir: string, backends: Backends}>
5-
export type CleanupFunction = (dir: string) => Promise<void>
3+
export interface SetupFunction { (prefix?: string): Promise<{ dir: string, backends: Backends}> }
4+
export interface CleanupFunction { (dir: string): Promise<void> }

0 commit comments

Comments
 (0)