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

jest-preset-kyt-styled

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-preset-kyt-styled

Jest preset for linting styles in CSS-in-JS projects

  • 1.4.12
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6.3K
increased by99.87%
Maintainers
5
Weekly downloads
 
Created
Source

jest-preset-kyt-styled

Jest preset for Stylelint-ing files in CSS-in-JS projects. Internally, uses these packages from the styled-components project:

Installation

$ yarn add --dev jest jest-preset-kyt-styled

// or

$ npm i --save-dev --save-exact jest jest-preset-kyt-styled

Setup

In your local Jest config - for instance, jest.config.js:

module.exports = {
  preset: 'jest-preset-kyt-styled',
  // By default, looks for files named `styled.js` in `src` (NYT convention)
  // change this value to match your project files that contain CSS-in-JS
  testMatch: ['<rootDir>/src/**/**/styled.js'],
};

FAQs

Package last updated on 01 Nov 2022

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