Package Exports
- stylelint-transform-function-no-whitespace
Readme
transform-function-no-whitespace
Disallow whitespace between transform functions and their parentheses
For projects that would like to safeguard their transform functions when used with CSS, SCSS, or PostCSS variables.
Installation
npm i -D stylelint stylelint-transform-function-no-whitespace
Setup
// stylelint.config.js
/* ESM pattern is preferred, as CommonJS support will be deprecated
in Stylelint's next major release (17.0.0) */
export default {
plugins: [
// your other pluginsv
"stylelint-transform-function-no-whitespace",
],
rules: {
// your other rules
"plugin/transform-function-no-whitespace": true,
},
};
Documentation
Please refer to GitHub README for full documentation.