get-processor-ids-from-stylelint-options
Get stylelint processor identifiers from a stylelint option object
const getProcessorIdsFromStylelintOptions = ; ; //=> Set {'@mapbox/stylelint-processor-markdown', './custom-processor.js'}
Installation
npm install get-processor-ids-from-stylelint-options
API
const getProcessorIdsFromStylelintOptions = ;
getProcessorIdsFromStylelintOptions([options])
options: Object
(stylelint API options)
Return: Set<string>
; //=> Set {'./processor0.js', ./processor1.js'} ; //=> Set {'/processor/can/be/a/string/instead/of/an/array.js'} ; //=> Set {} ; //=> Set {}
License
Copyright (c) 2017 Shinnosuke Watanabe
Licensed under the MIT License.