youwe-magento2-less-linter

1.1.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i youwe-magento2-less-linter

Weekly Downloads

9

Version

1.1.3

License

ISC

Last publish

Collaborators

  • shpax