JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30629
  • Score
    100M100P100Q182710F
  • License MIT

Package Exports

  • prettier-stylelint

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettier-stylelint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

prettier-stylelint NPM Version NPM Downloads NPM License

Format your styles with ease

code > prettier > stylelint > formatted code
prettier-eslint for stylelint :)
THIS IS STILL BETA DON'T USE THIS IN ANY IMPORTANT CODE
IF YOU DO GIT COMMIT FIRST ^^

Install

$ yarn add prettier-stylelint --dev

Usage

const format = require('prettier-eslint')
const sourceCode = 'a[id="foo"] { content: "x"; }'
const options = {
  text: sourceCode
}
const formatted = format(options)


// formatted 
a[id='foo'] {
    content: 'x';
}

License

MIT © Hugo Dias