Skip to content

Commit

Permalink
errors are related to coding style, specifically with variable reassi…
Browse files Browse the repository at this point in the history
…gnment and indentation
  • Loading branch information
thebedigupta committed Oct 14, 2024
1 parent 2776f9e commit 8451cc4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/nunjucks-filters/src/customFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,11 @@ function docline(field, fieldName, scopePropName) {
const getPName = (pName) => pName ? `${pName}.` : '';

const buildLineCore = (type, def, pName, fName) => {
let paramName = `${pName}${fName}`;
let defaultValue = def !== undefined ? `=${def}` : '';
const paramName = `${pName}${fName}`;
const defaultValue = def !== undefined ? `=${def}` : '';
return `* @param {${type}} ${paramName}${defaultValue}`;
};
};


Check failure on line 158 in apps/nunjucks-filters/src/customFilters.js

View workflow job for this annotation

GitHub Actions / Test NodeJS PR - ubuntu-latest

More than 1 blank line not allowed
const buildLine = (f, fName, pName) => {
const type = getType(f);
Expand Down

0 comments on commit 8451cc4

Please sign in to comment.