1.0.0 • Published 1 year ago

stylelint-transform-function-no-whitespace v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

transform-function-no-whitespace

Disallow whitespace between transform functions and their parentheses

Build Stylelint Version Last Commit

For projects that would like to safeguard their transform functions when used with CSS, SCSS, or PostCSS variables.

My plugin

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.