Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

make-sass-lint-config

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-sass-lint-config

Convert your .scss-lint.yml config file into the equivalent .sass-lint.yml

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by700%
Maintainers
1
Weekly downloads
 
Created
Source

Make-Sass-Lint-Config

Convert your .scss-lint.yml config file into the equivalent .sass-lint.yml

Use the online converter

The easiest way to use this tool is to simply paste the contents of your .scss-lint.yml file into the demonstration converter at sasstools.github.io/make-sass-lint-config.

Programmatic Usage

var makeSassLintConfig = require('make-sass-lint-config');
var jsyaml = require('js-yaml');
var fs = require('fs');

var scssLintConfigYaml = fs.readFileSync('.scss-lint.yml', 'utf8');

// Parse YAML into an object and get the object representation
// of the sass-lint config
var scssLintConfig = jsyaml.safeLoad(scssLintConfigYaml);
console.log(makeSassLintConfig.convert(scssLintConfig));

// Convert a YAML file and get YAML output
console.log(makeSassLintConfig.convertYaml(scssLintConfigYaml));

convert(scssSettings [ , options ])

Converts a scss-lint config file into a sass-lint config file

  • scssSettings - Settings parsed from YAML
  • options.debug - include additional debug information in the returned settings object, default false

convertYaml(scssSettingsYaml)

Perform convert on a string and output the converted yaml

  • scssSettingsYaml - scss-lint config in YAML format

Keywords

FAQs

Package last updated on 06 Nov 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc