Skip to content

Commit

Permalink
refactor(schema|report): fixes small lint issues
Browse files Browse the repository at this point in the history
(codeql)
  • Loading branch information
sverweij committed Jan 14, 2025
1 parent c48aca9 commit f82135e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/report/dot/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ const GRANULARITY2REPORTER_OPTIONS = new Map([
]);

function buildGraphAttributes(pGraph) {
return pGraph ? ` ${attributizeObject(pGraph || {})}` : "";
return pGraph ? ` ${attributizeObject(pGraph)}` : "";
}

function buildNodeAttributes(pNode) {
return pNode ? ` node [${attributizeObject(pNode || {})}]` : "";
return pNode ? ` node [${attributizeObject(pNode)}]` : "";
}

function buildEdgeAttributes(pEdge) {
return pEdge ? ` edge [${attributizeObject(pEdge || {})}]` : "";
return pEdge ? ` edge [${attributizeObject(pEdge)}]` : "";
}

function buildGeneralAttributes(pTheme) {
Expand Down
2 changes: 1 addition & 1 deletion src/schema/configuration.schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/schema/cruise-result.schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/schema/options.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default {
description:
"Hasn't had any effect on dependency-cruiser's behaviour since a few major " +
"versions ago. If there's a need to manipulate this use the `skipAnalysisNotInRules` " +
"option in stead." +
"option in stead. " +
"Previously documented behaviour: " +
"When true includes de-normalized dependents in the cruise-result, even " +
"though there's no rule in the rule set that requires them. Defaults to false.",
Expand Down

0 comments on commit f82135e

Please sign in to comment.