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

jest-runner-sasslint

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-runner-sasslint

Sass Lint runner for Jest

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

jest-runner-sasslint

Sass Lint runner for Jest

Usage

Install

Install jest (Jest 21+) and jest-runner-sasslint

yarn add --dev jest jest-runner-sasslint

Add it to your Jest config

In your package.json

{
  "jest": {
    "runner": "jest-runner-sasslint",
    "displayName": "Sass Lint",
    "testMatch": ["<rootDir>/src/**/*.scss"],
    "moduleFileExtensions": ["scss"]
  }
}

Or in jest.config.js

module.exports = {
  runner: 'jest-runner-sasslint',
  displayName: 'Sass Lint',
  testMatch: ['<rootDir>/src/**/*.scss'],
  moduleFileExtensions: ['scss']
}

Run Jest

yarn jest

Keywords

jest

FAQs

Package last updated on 02 Oct 2019

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