Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
formatter: (() => {
if ( get(stylelint, 'formatters.string') ) {
return stylelint.formatters.string;
} else if ( moduleAvailable('stylelint/dist/formatters/stringFormatter') ) {
return require('stylelint/dist/formatters/stringFormatter').default;
}
})()
}, options);