Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

A Stylelint shareable config for scss. Also support miniprograms.

License

Notifications You must be signed in to change notification settings

MillCloud/stylelint-config-scss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED! Check @modyqyw/stylelint-config.

@modyqyw/stylelint-config-scss

A Stylelint shareable config for scss. Also support miniprograms.

Usage

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

For yarn, run scripts below.

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

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

About

A Stylelint shareable config for scss. Also support miniprograms.

Resources

License

Stars

Watchers

Forks

Packages

No packages published