@terminal-nerds/stylelint-config

0.19.0 • Public • Published

@terminal-nerds/stylelint-config

package version badge

➡️ Extendable stylelint icon Stylelint configuration, part of the terminal-nerds/configs project.


Prerequisites

node.js version support badge supported stylelint version badge

ℹ️ This configuration package require these tools to use locally on your device(s):

  1. node.js icon Latest Node.js LTS (Long-Term Support) version
  2. One of Node.js package managers:
  3. Latest stylelint icon Stylelint version

Basic usage

👣 Follow the steps below:

  1. Install it with the node.js icon Node.js package manager of your choice (in our case, we use pnpm icon pnpm).

     pnpm install --save-dev stylelint @terminal-nerds/stylelint-config
  2. Create a stylelint icon stylelint configuration file - .stylelintrc.(c)js.

  3. Extend this module package configuration.

    /** @type {import("stylelint").Config} */
    const config = {
    	extends: "@terminal-nerds/stylelint-config",
    };
    
    module.exports = config;

📖 For the stylelint icon Stylelint CLI usage, please refer to its documentation.


Used configurations & plugins

Dependencies badge

⚙️ This configuration module for Stylelint loads configurations and plugins options conditionally.

Configurations

Configurations Version Loading condition(s)
stylelint-config-prettier stylelint-config-prettier version badge prettier as dependency
stylelint-config-standard stylelint-config-standard version badge NO sass as dependency
stylelint-config-standard-scss stylelint-config-standard-scss version badge sass as dependency
stylelint-config-tailwindcss stylelint-config-prettier version badge tailwindcss as dependency

Plugins

Plugin Version Loading condition(s)
stylelint-css-modules stylelint-css-modules version badge -
stylelint-high-performance-animation stylelint-high-performance-animation version badge -
stylelint-no-unsupported-browser-features stylelint-no-unsupported-browser-features version badge -
stylelint-order stylelint-order version badge -
stylelint-scss stylelint-scss version badge sass as dependency

Security

workflow security badge

🔐 For more information, please refer to the Security section at the root of the terminal-nerds/configs monorepo.


Contributing

contributors badge

🤝 Contributions of any kind are welcome!

Please refer to the monorepo (terminal-nerds/configs) project's CONTRIBUTING file for more information if you wish to get involved.


License

license badge

⚖️ For more information, please refer to the License section at the root of the terminal-nerds/configs monorepo.


Resources

Readme

Keywords

Package Sidebar

Install

npm i @terminal-nerds/stylelint-config

Weekly Downloads

1

Version

0.19.0

License

MIT

Unpacked Size

1.3 MB

Total Files

8

Last publish

Collaborators

  • xeho91