Skip to content

Commit a33d35b

Browse files
committed
Format all files
1 parent 4f0241f commit a33d35b

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

packages/cli/src/getExitCode.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ export function getExitCode(analysis: CheckResult, opts?: RenderOptions): number
1010
const ignoreResolutions = opts?.ignoreResolutions ?? [];
1111
return analysis.problems.some((problem) => {
1212
const notRuleIgnored = !ignoreRules.includes(problemFlags[problem.kind]);
13-
const notResolutionIgnored = "resolutionKind" in problem ? !ignoreResolutions.includes(problem.resolutionKind) : true;
13+
const notResolutionIgnored =
14+
"resolutionKind" in problem ? !ignoreResolutions.includes(problem.resolutionKind) : true;
1415
return notRuleIgnored && notResolutionIgnored;
15-
}) ? 1 : 0;
16+
})
17+
? 1
18+
: 0;
1619
}

packages/core/test/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"lib": ["es2019"],
55
"module": "nodenext",
66
"outDir": "dist",
7-
"types": ["node", "ts-expose-internals"],
7+
"types": ["node", "ts-expose-internals"]
88
},
99
"references": [
1010
{

packages/core/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"module": "nodenext",
1111
"outDir": "dist",
1212
"rootDir": "src",
13-
"types": ["ts-expose-internals"],
13+
"types": ["ts-expose-internals"]
1414
},
1515
"include": ["src"]
1616
}

tsconfig.check-dts.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"strict": true
66
},
77
"include": ["./packages/core/dist"]
8-
}
8+
}

0 commit comments

Comments
 (0)