-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcode-pushup.config.ts
More file actions
31 lines (29 loc) · 823 Bytes
/
code-pushup.config.ts
File metadata and controls
31 lines (29 loc) · 823 Bytes
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
import eslintPlugin, { eslintConfigFromNxProjects } from '@code-pushup/eslint-plugin';
import type { CoreConfig } from '@code-pushup/models';
import 'dotenv/config';
const config: CoreConfig = {
upload: {
server: 'https://portal-api-r6nh2xm7mq-ez.a.run.app/graphql',
apiKey: process.env.CP_API_KEY,
organization: 'push-based',
project: 'user-flow',
},
plugins: [
await eslintPlugin(await eslintConfigFromNxProjects()),
],
categories: [
{
slug: 'bug-prevention',
title: 'Bug prevention',
refs: [{ type: 'group', plugin: 'eslint', slug: 'problems', weight: 100 }],
},
{
slug: 'code-style',
title: 'Code style',
refs: [
{ type: 'group', plugin: 'eslint', slug: 'suggestions', weight: 100 },
],
},
],
};
export default config;