Skip to content

Commit

Permalink
feat: initial support for prettier-stylelint (#218)
Browse files Browse the repository at this point in the history
* feat: initial support for prettier-stylelint

* chore: cleanup logs

* fix: update safeExecution to support Promise and refactor to use it

* fix: remove exports

* fix: update prettier-stylelint

* fix: remove console.log and bump version

* fix: this add support to relative package import and default prettier options

* fix: add stylelintIntegration to README
  • Loading branch information
hugomrdias authored and CiGit committed Oct 2, 2017
1 parent 640d7d7 commit 6e46c4c
Show file tree
Hide file tree
Showing 6 changed files with 1,173 additions and 78 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ If true, indent lines with tabs
Use *[prettier-eslint](https://github.com/prettier/prettier-eslint)* instead of *prettier*.
Other settings will only be fallbacks in case they could not be inferred from eslint rules.

#### prettier.stylelintIntegration (default: false) - CSS, SCSS and LESS only
Use *[prettier-stylelint](https://github.com/hugomrdias/prettier-stylelint)* instead of *prettier*.
Other settings will only be fallbacks in case they could not be inferred from eslint rules.

#### prettier.javascriptEnable (default: ["javascript", "javascriptreact"])
Advanced feature. Use this to opt in / out prettier on various language ids. Restart required.
Use parser `babylon` or `flow` depending on `prettier.parser` for given language ids.
Expand Down
Loading

0 comments on commit 6e46c4c

Please sign in to comment.