Skip to content

Commit 6e46c4c

Browse files
hugomrdiasCiGit
authored andcommitted
feat: initial support for prettier-stylelint (#218)
* 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
1 parent 640d7d7 commit 6e46c4c

File tree

6 files changed

+1173
-78
lines changed

6 files changed

+1173
-78
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ If true, indent lines with tabs
7676
Use *[prettier-eslint](https://github.com/prettier/prettier-eslint)* instead of *prettier*.
7777
Other settings will only be fallbacks in case they could not be inferred from eslint rules.
7878

79+
#### prettier.stylelintIntegration (default: false) - CSS, SCSS and LESS only
80+
Use *[prettier-stylelint](https://github.com/hugomrdias/prettier-stylelint)* instead of *prettier*.
81+
Other settings will only be fallbacks in case they could not be inferred from eslint rules.
82+
7983
#### prettier.javascriptEnable (default: ["javascript", "javascriptreact"])
8084
Advanced feature. Use this to opt in / out prettier on various language ids. Restart required.
8185
Use parser `babylon` or `flow` depending on `prettier.parser` for given language ids.

0 commit comments

Comments
 (0)