Skip to content

Commit

Permalink
feat(plugin-eslint): add docs url
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed Dec 4, 2023
1 parent 3e39810 commit d6a6b2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions e2e/cli-e2e/tests/__snapshots__/collect.e2e.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,7 @@ exports[`CLI collect > should run ESLint plugin and create report.json 1`] = `
},
],
"description": "Official Code PushUp ESLint plugin",
"docsUrl": "https://www.npmjs.com/package/@code-pushup/eslint-plugin",
"groups": [
{
"description": "Code that either will cause an error or may cause confusing behavior. Developers should consider this a high priority to resolve.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ exports[`eslintPlugin > should initialize ESLint plugin for React application 1`
},
],
"description": "Official Code PushUp ESLint plugin",
"docsUrl": "https://www.npmjs.com/package/@code-pushup/eslint-plugin",
"groups": [
{
"description": "Code that either will cause an error or may cause confusing behavior. Developers should consider this a high priority to resolve.",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-eslint/src/lib/eslint-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function eslintPlugin(
title: 'ESLint',
icon: 'eslint',
description: 'Official Code PushUp ESLint plugin',
// TODO: docsUrl (package README, once published)
docsUrl: 'https://www.npmjs.com/package/@code-pushup/eslint-plugin',
packageName: name,
version,

Expand Down

0 comments on commit d6a6b2a

Please sign in to comment.