-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcode-pushup.invalid.config.ts
More file actions
53 lines (52 loc) · 1.11 KB
/
code-pushup.invalid.config.ts
File metadata and controls
53 lines (52 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import type { CoreConfig } from '@code-pushup/models';
export default {
persist: { outputDir: 'tmp' },
upload: {
organization: 'code-pushup',
project: 'cli-ts',
apiKey: 'e2e-api-key',
server: 'https://e2e.com/api',
},
categories: [
{
slug: 'bug-prevention',
title: 'Bug prevention',
// due to duplicate category references, the config is invalid
refs: [
{
type: 'audit',
plugin: 'node',
slug: 'node-version',
weight: 1,
},
{
type: 'audit',
plugin: 'node',
slug: 'node-version',
weight: 1,
},
],
},
],
plugins: [
{
audits: [
{
slug: 'node-version',
title: 'Node version',
description: 'prints node version to file',
docsUrl: 'https://nodejs.org/',
},
],
runner: {
command: 'node',
args: ['-v'],
outputFile: 'output.json',
},
groups: [],
slug: 'node',
title: 'Node.js',
icon: 'javascript',
},
],
} satisfies CoreConfig;