Skip to content

Commit d6a6b2a

Browse files
committed
feat(plugin-eslint): add docs url
1 parent 3e39810 commit d6a6b2a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

e2e/cli-e2e/tests/__snapshots__/collect.e2e.test.ts.snap

+1
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
993993
},
994994
],
995995
"description": "Official Code PushUp ESLint plugin",
996+
"docsUrl": "https://www.npmjs.com/package/@code-pushup/eslint-plugin",
996997
"groups": [
997998
{
998999
"description": "Code that either will cause an error or may cause confusing behavior. Developers should consider this a high priority to resolve.",

packages/plugin-eslint/src/lib/__snapshots__/eslint-plugin.integration.test.ts.snap

+1
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ exports[`eslintPlugin > should initialize ESLint plugin for React application 1`
287287
},
288288
],
289289
"description": "Official Code PushUp ESLint plugin",
290+
"docsUrl": "https://www.npmjs.com/package/@code-pushup/eslint-plugin",
290291
"groups": [
291292
{
292293
"description": "Code that either will cause an error or may cause confusing behavior. Developers should consider this a high priority to resolve.",

packages/plugin-eslint/src/lib/eslint-plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function eslintPlugin(
5454
title: 'ESLint',
5555
icon: 'eslint',
5656
description: 'Official Code PushUp ESLint plugin',
57-
// TODO: docsUrl (package README, once published)
57+
docsUrl: 'https://www.npmjs.com/package/@code-pushup/eslint-plugin',
5858
packageName: name,
5959
version,
6060

0 commit comments

Comments
 (0)