stylelint-transform-function-no-whitespace
v1.0.0
Published
> Disallow whitespace between transform functions and their parentheses
Downloads
15
Maintainers
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
For Stylelint ^16.0.0
:
// stylelint.config.js
export default {
plugins: [
// your other plugins
"stylelint-transform-function-no-whitespace",
],
rules: {
// your other rules
"plugin/transform-function-no-whitespace": true,
},
};
For Stylelint ^15.0.0
:
// stylelint.config.js
module.exports = {
plugins: [
// your other plugins
"stylelint-transform-function-no-whitespace",
],
rules: {
// your other rules
"plugin/transform-function-no-whitespace": true,
},
};
Documentation
Please refer to GitHub README for full documentation.