eslint-docgen
Advanced tools
Comparing version 0.6.0 to 0.6.1
# eslint-docgen release history | ||
## v0.6.1 | ||
* Fix: Filter out docgen:false tests before parsing (#120) | ||
## v0.6.0 | ||
@@ -4,0 +7,0 @@ * Breaking change: Drop deprecated 'noDoc' option and '--doc' CLI flag (#115) |
{ | ||
"name": "eslint-docgen", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Automatically generate ESLint plugin documentation from rule metadata and test cases.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -82,2 +82,8 @@ 'use strict'; | ||
function buildRuleDetails( testList, valid, showFixes ) { | ||
testList = testList.filter( ( test ) => | ||
test.docgen === undefined ? | ||
!config.excludeExamplesByDefault : | ||
test.docgen | ||
); | ||
let fixedCode, fixedOutput, maxCodeLength; | ||
@@ -119,10 +125,2 @@ const testsByOptions = {}; | ||
testList.forEach( function ( test, i ) { | ||
const docgen = test.docgen === undefined ? | ||
!config.excludeExamplesByDefault : | ||
test.docgen; | ||
if ( !docgen ) { | ||
return; | ||
} | ||
const filename = getFilename( test ); | ||
@@ -129,0 +127,0 @@ let lang = 'js'; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
40771
0
856