Skip to content

Commit eaa453b

Browse files
renovate[bot]renovate-botescapedcat
authored
chore: update dependency prettier to v2.3.0 (#2586)
* chore: update dependency prettier to v2.3.0 * style: format code according to prettier 2.3.0 Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: escapedcat <[email protected]>
1 parent 0e76a84 commit eaa453b

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

@commitlint/load/src/load.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export default async function load(
6060
parserPreset: config.parserPreset,
6161
});
6262

63-
const preset = (pickConfig(
63+
const preset = pickConfig(
6464
mergeWith(extended, config, w)
65-
) as unknown) as UserPreset;
65+
) as unknown as UserPreset;
6666
preset.plugins = {};
6767

6868
// TODO: check if this is still necessary with the new factory based conventional changelog parsers

@commitlint/types/src/rules.ts

+4-6
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ export type QualifiedRuleConfig<T> =
6868
| (() => RuleConfigTuple<Promise<T>>)
6969
| RuleConfigTuple<T>;
7070

71-
export type RuleConfig<
72-
V = RuleConfigQuality.Qualified,
73-
T = void
74-
> = V extends RuleConfigQuality.Qualified
75-
? RuleConfigTuple<T>
76-
: QualifiedRuleConfig<T>;
71+
export type RuleConfig<V = RuleConfigQuality.Qualified, T = void> =
72+
V extends RuleConfigQuality.Qualified
73+
? RuleConfigTuple<T>
74+
: QualifiedRuleConfig<T>;
7775

7876
export type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<
7977
V,

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -8329,9 +8329,9 @@ prepend-http@^2.0.0:
83298329
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
83308330

83318331
prettier@^2.0.5:
8332-
version "2.2.1"
8333-
resolved "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
8334-
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
8332+
version "2.3.0"
8333+
resolved "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
8334+
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==
83358335

83368336
pretty-format@^26.0.0:
83378337
version "26.6.0"

0 commit comments

Comments
 (0)