stylelint-transform-function-no-whitespace

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i stylelint-transform-function-no-whitespace

Weekly Downloads

11

Version

1.0.0

License

MIT

Unpacked Size

9.15 kB

Total Files

5

Last publish

Collaborators

  • qwloh