➡️ Extendable Stylelint configuration, part of the adchitects/configs project.
ℹ️ 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
👣 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.
⚙️ This configuration module for Stylelint loads configurations and plugins options conditionally.
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 |
Plugin | Version | Loading condition(s) |
---|---|---|
stylelint-high-performance-animation | - | |
stylelint-no-unsupported-browser-features | - | |
stylelint-order | - | |
stylelint-scss | sass as dependency |
🔐 For more information, please refer to the Security section at the root of the adchitects/configs monorepo.
🤝 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.
⚖️ For more information, please refer to the License section at the root of the adchitects/configs monorepo.