youwe-magento2-less-linter
This module is used to lint all *.less* files in Youwe themes and list Code convention errors
Last updated 4 years ago by shpax .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install youwe-magento2-less-linter 
SYNC missed versions from official npm registry.

Youwe Magento 2 less linter

This module is used to lint all .less files in Youwe themes and list Code convention errors

Ruleset

All applied rules can be viewed here

Usage

  1. Install module

    npm i -g youwe-magento2-less-linter

  2. in project root (from where your project app folter is) run

    youwe-lint

Extras

  • to show full file path instead of only the filename use

    youwe-lint -p

  • file mask for getting the files list is app/design/frontend/Youwe/**/web/css/source/**/*.less. If you want to specify files you'd like to lint use -m param. This will change file mask to app/design/frontend/Youwe/**/web/css/source/**/filename.less

    youwe-lint -m filename.less

  • each param must be supplied separately

    youwe-lint -p -m *filename.less

Current Tags

  • 1.1.3                                ...           latest (4 years ago)

8 Versions

  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.11                                ...           4 years ago
  • 1.0.10                                ...           4 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.8                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 4
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |