Skip to content

Commit fda144d

Browse files
committed
eslint
1 parent ca5a101 commit fda144d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

env.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ type Nullsec = Lowsec & PlayerNullsec & {
671671
/** **NULLSEC** */ top: () => CorpsTop | { top: CorpsTop, active: { name: string, worth: string } }
672672
}
673673

674-
marks: { /** **NULLSEC** */ clone: (args?:{ name?:string }) => ScriptResponse }
674+
marks: { /** **NULLSEC** */ clone: (args?: { name?: string }) => ScriptResponse }
675675

676676
sys: { /** **NULLSEC** */ breach: (args: { confirm: true }) => ScriptResponse }
677677
trust: { /** **NULLSEC** */ me: () => string }
@@ -1077,7 +1077,6 @@ declare global {
10771077
s: GameState
10781078
}
10791079

1080-
10811080
type Lane = "0" | "1" | "2" | "3" | "4" | "5"
10821081

10831082
type POp = `p${CardValue | Card}${Lane}`

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default antfu(
55
formatters: true,
66
stylistic: { indent: "tab", quotes: "backtick" },
77
rules: {
8+
"style/member-delimiter-style": "off",
89
"style/comma-dangle": [ "error", "never" ],
910
"style/array-bracket-spacing": [ "error", "always" ],
1011
"unicorn/prefer-node-protocol": "off",

scripts/lint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
set -ex
3-
tsc
4-
tsc --project src
5-
eslint
3+
npx tsc
4+
npx tsc --project src
5+
npx eslint

src/push.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export async function push(
105105
}
106106

107107
const usersToScriptsToPush =
108-
new AutoMap((_user: string) => new Map</* script name */ string, /* script path */ string>)
108+
new AutoMap((_user: string) => new Map<string, /* script path */ string>)
109109

110110
// const usersToScriptNames = new Cache((_user: string) => new Set)
111111
// const pushEverything_ = scripts.includes(`*.*`)

0 commit comments

Comments
 (0)