This package has been deprecated

Author message:

This package is deprecated. Use @modyqyw/fabric instead. :D

@modyqyw/stylelint-config-css

1.1.0 • Public • Published

@modyqyw/stylelint-config-css

A Stylelint shareable config for css. Also support miniprograms.

Usage

  • Install the config.
npm i stylelint@~13.7.0 @modyqyw/stylelint-config-css@~1.1.0 -D

For yarn, run scripts below.

yarn add stylelint@~13.7.0 @modyqyw/stylelint-config-css@~1.1.0 -D
  • Set up.
// stylelint.config.js
module.exports = {
  extends: ["@modyqyw/stylelint-config-css"],
};

VSCode

  • Install plugins.
  • Set up Settings.json. Then F1 => File: Save.
{
  "css.validate": false,
  "less.validate": false,
  "scss.validate": false,
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "files.associations": {
    "*.wxml": "html",
    "*.wxs": "javascript",
    "*.wxss": "css",
    "*.axml": "html",
    "*.sjs": "javascript",
    "*.acss": "css",
    "*.swan": "html",
    "*.ttml": "html",
    "*.ttss": "css",
    "*.jxml": "html",
    "*.jxss": "css",
    "*.wpy": "vue",
    "*.nvue": "vue",
    "*.ux": "vue"
  }
}

More Config

License

MIT

Copyright (c) 2020-present MillCloud

Package Sidebar

Install

npm i @modyqyw/stylelint-config-css

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.09 kB

Total Files

6

Last publish

Collaborators

  • modyqyw