🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@modyqyw/stylelint-config-less

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modyqyw/stylelint-config-less

A Stylelint shareable config for less. Also support miniprograms.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

@modyqyw/stylelint-config-less

A Stylelint shareable config for less. Also support miniprograms.

Usage

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

For yarn, run scripts below.

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

VSCode

  • Install plugins.
    • Stylelint
  • 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

Keywords

stylelint

FAQs

Package last updated on 16 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts