Skip to content

Commit

Permalink
fix: prettier imports star * (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema authored Nov 25, 2024
1 parent ef7b2f6 commit f694f67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-carrots-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'style-dictionary': patch
---

Fix Prettier imports, see https://prettier.io/docs/en/api#custom-parser-api-removed for more info.
6 changes: 3 additions & 3 deletions lib/common/formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
* and limitations under the License.
*/
import * as prettier from 'prettier/standalone';
import prettierPluginBabel from 'prettier/plugins/babel';
import prettierPluginEstree from 'prettier/plugins/estree';
import prettierPluginTypescript from 'prettier/plugins/typescript';
import * as prettierPluginBabel from 'prettier/plugins/babel';
import * as prettierPluginEstree from 'prettier/plugins/estree';
import * as prettierPluginTypescript from 'prettier/plugins/typescript';

import {
fileHeader,
Expand Down

0 comments on commit f694f67

Please sign in to comment.