-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Export types * Fix type linting errors * refactor * Tweak wording * Update changelog
- Loading branch information
1 parent
59d8f46
commit 46d60d5
Showing
7 changed files
with
76 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Parser, Printer, SupportOption } from 'prettier'; | ||
|
||
export interface PluginOptions { | ||
/** | ||
* Path to the Tailwind config file. | ||
*/ | ||
tailwindConfig?: string | ||
|
||
/** | ||
* List of custom function and tag names that contain classes. | ||
*/ | ||
tailwindFunctions: string[] | ||
|
||
/** | ||
* List of custom attributes that contain classes. | ||
*/ | ||
tailwindAttributes: string[] | ||
} | ||
|
||
declare module 'prettier' { | ||
interface RequiredOptions extends PluginOptions {} | ||
interface ParserOptions extends PluginOptions {} | ||
} | ||
|
||
export const options: Record<keyof PluginOptions, SupportOption> | ||
export const parsers: Record<string, Parser> | ||
export const printers: Record<string, Printer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters