New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

laravel-elixir-stylint

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-elixir-stylint

Laravel Elixir Stylint Extension

0.0.8
latest
Version published
Maintainers
1
Created

Laravel Elixir Stylint

npm version

Laravel Elixir Stylus Lint Extension based on Stylint:

Installation

$ npm install laravel-elixir-stylint --save-dev

Usage

In gulpfile.js:

// Include Laravel Elixir
var elixir = require('laravel-elixir');

// Include the extension
require('laravel-elixir-stylint');

// Lint all files under 'stylus' folder
elixir(function(mix) {
  mix.stylint();
});

Sources

Type: String or Array

elixir(function(mix) {
  mix.stylint([
    'resources/assets/stylus/fileA.styl',
    'resources/assets/stylus/fileB.styl'
  ]);
});

Options

var options = { config: '.stylintrc' }

elixir(function(mix) {
  mix.stylint([
    'resources/assets/stylus/fileA.styl',
    'resources/assets/stylus/fileB.styl'
  ], options);
});

Stylint Options

Type: Object

See stylint options

Credits

License

Laravel Elixir Stylint is open-sourced software licensed under the MIT license

FAQs

Package last updated on 10 Nov 2016

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