0.1.1 • Published 7 months ago
@yikoyu/stylelint-config v0.1.1
@yikoyu/stylelint-config
➡️ Extendable configuration, part of the
yikoyu/unconfig 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
version
Basic usage
👣 Follow the steps below:
Install it with the
package manager of your choice (in our case, we use
).
pnpm install --save-dev stylelint @yikoyu/stylelint-config
If using pnpm, please add configuration to the
.npmrc
file.public-hoist-pattern[]=*stylelint* public-hoist-pattern[]=postcss*
Create a
-
stylelint.config.(js|cjs|.mjs)
.Extend this module package configuration.
import { yikoyu } from '@yikoyu/stylelint-config' export default yikoyu()
📖 For the 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-recess-order | order as dependency | |
stylelint-config-recommended-vue | vue as dependency | |
stylelint-config-standard | NO sass as dependency | |
stylelint-config-standard-scss | sass as dependency |
License
⚖️ For more information, please refer to the License section at the root of the yikoyu/unconfig monorepo.