File tree 6 files changed +22
-0
lines changed
libs/universal-node-xml/stringifiers
6 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ SPDX-License-Identifier: Apache-2.0
17
17
Copyright (c) OWASP Foundation. All Rights Reserved.
18
18
*/
19
19
20
+ /* eslint-disable jsdoc/valid-types */
21
+
20
22
/**
21
23
* @type {import('eslint').Linter.Config }
22
24
* @see {@link https://eslint.org/ }
Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ SPDX-License-Identifier: Apache-2.0
17
17
Copyright (c) OWASP Foundation. All Rights Reserved.
18
18
*/
19
19
20
+ /* eslint-disable jsdoc/valid-types */
21
+
20
22
/**
21
23
* @typedef {import('../../../src/serialize/xml/types').SimpleXml.Element } Element
22
24
*/
23
25
26
+ /* eslint-enable jsdoc/valid-types */
27
+
24
28
/**
25
29
* @param {Element } element
26
30
* @return {string|string|null }
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ module.exports = typeof create === 'function'
24
24
? stringify
25
25
: undefined
26
26
27
+ /* eslint-disable jsdoc/valid-types */
28
+
27
29
/**
28
30
* @typedef {import('xmlbuilder2/lib/interfaces').XMLBuilder } XMLBuilder
29
31
*/
@@ -32,6 +34,8 @@ module.exports = typeof create === 'function'
32
34
* @typedef {import('../../../src/serialize/xml/types').SimpleXml.Element } Element
33
35
*/
34
36
37
+ /* eslint-enable jsdoc/valid-types */
38
+
35
39
/**
36
40
* @param {Element } element
37
41
* @param {string|number|undefined } [space]
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ const { PackageURL } = require('packageurl-js')
21
21
22
22
const { Enums, Models } = require ( '../../' )
23
23
24
+ /* eslint-disable jsdoc/valid-types */
25
+
24
26
/**
25
27
* @typedef {import('../../src/models/bom').Bom } Bom
26
28
*/
27
29
30
+ /* eslint-enable jsdoc/valid-types */
31
+
28
32
/**
29
33
* @returns {Bom }
30
34
*/
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ Copyright (c) OWASP Foundation. All Rights Reserved.
20
20
const fs = require ( 'fs' )
21
21
const path = require ( 'path' )
22
22
23
+ /* eslint-disable jsdoc/valid-types */
24
+
23
25
/**
24
26
* @typedef {import('../../src/spec').Version } Version
25
27
*/
@@ -28,6 +30,8 @@ const path = require('path')
28
30
* @typedef {import('@types/node').BufferEncoding } BufferEncoding
29
31
*/
30
32
33
+ /* eslint-enable jsdoc/valid-types */
34
+
31
35
/**
32
36
* @param {string } purpose
33
37
* @param {Version } spec
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ Copyright (c) OWASP Foundation. All Rights Reserved.
20
20
const fs = require ( 'fs' )
21
21
const path = require ( 'path' )
22
22
23
+ /* eslint-disable jsdoc/valid-types */
24
+
23
25
/**
24
26
* @typedef {import('../../src/spec').Version } Version
25
27
*/
@@ -28,6 +30,8 @@ const path = require('path')
28
30
* @typedef {import('@types/node').BufferEncoding } BufferEncoding
29
31
*/
30
32
33
+ /* eslint-enable jsdoc/valid-types */
34
+
31
35
/**
32
36
* @param {string } purpose
33
37
* @param {Version } spec
You can’t perform that action at this time.
0 commit comments