Skip to content

Plugin to use stylelint with styled-jsx. Warning this is a Proof Of Concept plugin.

Notifications You must be signed in to change notification settings

giuseppeg/styled-jsx-plugin-stylelint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

styled-jsx-plugin-stylelint

Build Status npm

Use stylelint with styled-jsx 💥

Usage

Install the package first.

npm install --save styled-jsx-plugin-stylelint

Next, add styled-jsx-plugin-stylelint to the styled-jsx's plugins in your babel configuration:

{
  "plugins": [
    [
      "styled-jsx/babel",
      { "plugins": ["styled-jsx-plugin-stylelint"] }
    ]
  ]
}

Notes

styled-jsx-plugin-stylelint uses styled-jsx's plugin system which is supported from version 2. Read more on their repository for further info.

This is a Proof of Concept plugin, in case you or your team needs such a plugin please consider contributing.

License

MIT

About

Plugin to use stylelint with styled-jsx. Warning this is a Proof Of Concept plugin.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published