@adchitects/stylelint-config
v0.2.0
Published
@adchitects extendable configuration for stylelint.
Downloads
6
Readme
@adchitects/stylelint-config
➡️ Extendable Stylelint configuration, part of the adchitects/configs project.
Prerequisites
ℹ️ This configuration package require these tools to use locally on your device(s):
- Latest Node.js LTS (Long-Term Support) version
- One of Node.js package managers:
- Latest Stylelint version
Basic usage
👣 Follow the steps below:
Install it with the Node.js package manager of your choice (in our case, we use pnpm).
pnpm install --save-dev stylelint @adchitects/stylelint-config
Create a stylelint configuration file -
.stylelintrc.(c)js
.Extend this module package configuration.
/** @type {import("stylelint").Config} */ const config = { extends: "@adchitects/stylelint-config", }; module.exports = config;
📖 For the Stylelint CLI usage, please refer to its documentation.
Used configurations & plugins
⚙️ This configuration module for Stylelint loads configurations and plugins options conditionally.
Configurations
| Configurations | Version | Loading condition(s) |
| -------------------------------- | ------------------------------------------ | --------------------------- |
| stylelint-config-prettier | | prettier
as dependency |
| stylelint-config-standard | | NO sass
as dependency |
| stylelint-config-standard-scss | | sass
as dependency |
Plugins
| Plugin | Version | Loading condition(s) |
| ------------------------------------------- | ---------------------------------------------------------- | -------------------- |
| stylelint-high-performance-animation | | - |
| stylelint-no-unsupported-browser-features | | - |
| stylelint-order | | - |
| stylelint-scss | | sass
as dependency |
Security
🔐 For more information, please refer to the Security section at the root of the adchitects/configs monorepo.
Contributing
🤝 Contributions of any kind are welcome!
Please refer to the monorepo (adchitects/configs) project's CONTRIBUTING file for more information if you wish to get involved.
License
⚖️ For more information, please refer to the License section at the root of the adchitects/configs monorepo.