@yikoyu/stylelint-config
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@yikoyu/stylelint-config

package version badge

➡️ Extendable stylelint icon Stylelint 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:
  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 @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 configuration file - stylelint.config.(js|cjs|.mjs).

  4. Extend this module package configuration.

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

📖 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-recess-order stylelint-config-recess-order version badge order as dependency
stylelint-config-recommended-vue stylelint-config-recommended-vue version badge vue 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

License

license badge

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


Resources

Package Sidebar

Install

npm i @yikoyu/stylelint-config

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • yikoyu