0.1.1 • Published 7 months ago

@yikoyu/stylelint-config v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@yikoyu/stylelint-config

package version badge

➡️ Extendable stylelint icon configuration, part of the yikoyu/unconfig 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:
    • pnpm icon
    • yarn icon
    • npm icon
  3. Latest stylelint icon version

Basic usage

👣 Follow the steps below:

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

     pnpm install --save-dev stylelint @yikoyu/stylelint-config
  2. If using pnpm, please add configuration to the .npmrc file.

    public-hoist-pattern[]=*stylelint*
    public-hoist-pattern[]=postcss*
  3. Create a stylelint icon - stylelint.config.(js|cjs|.mjs).

  4. Extend this module package configuration.

    import { yikoyu } from '@yikoyu/stylelint-config'
    
    export default yikoyu()

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


Used configurations & plugins

Dependencies badge

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

Configurations

ConfigurationsVersionLoading condition(s)
stylelint-config-recess-orderstylelint-config-recess-order version badgeorder as dependency
stylelint-config-recommended-vuestylelint-config-recommended-vue version badgevue as dependency
stylelint-config-standardstylelint-config-standard version badgeNO sass as dependency
stylelint-config-standard-scssstylelint-config-standard-scss version badgesass as dependency

License

license badge

⚖️ For more information, please refer to the License section at the root of the yikoyu/unconfig monorepo.


Resources