docs/v3/gulpfile.js
Function checkInternalLinksAndExit
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkInternalLinksAndExit(htmlPath) {
const duplicateHeadingIds = [];
const seenHeadingIds = new Set();
const badLinks = [];
const $ = cheerio.load(fs.readFileSync(htmlPath, 'utf8'));
Parsing error: Unexpected token => Open
Open
gulp.task('checkV2docs', async(done) => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/