-
Notifications
You must be signed in to change notification settings - Fork 97
/
index.d.ts
37 lines (34 loc) · 1.19 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { Config } from 'prettier';
export interface PluginConfig {
svelteSortOrder?: SortOrder;
svelteBracketNewLine?: boolean;
svelteAllowShorthand?: boolean;
svelteIndentScriptAndStyle?: boolean;
}
export type PrettierConfig = PluginConfig & Config;
type SortOrder =
| 'options-scripts-markup-styles'
| 'options-scripts-styles-markup'
| 'options-markup-styles-scripts'
| 'options-markup-scripts-styles'
| 'options-styles-markup-scripts'
| 'options-styles-scripts-markup'
| 'scripts-options-markup-styles'
| 'scripts-options-styles-markup'
| 'markup-options-styles-scripts'
| 'markup-options-scripts-styles'
| 'styles-options-markup-scripts'
| 'styles-options-scripts-markup'
| 'scripts-markup-options-styles'
| 'scripts-styles-options-markup'
| 'markup-styles-options-scripts'
| 'markup-scripts-options-styles'
| 'styles-markup-options-scripts'
| 'styles-scripts-options-markup'
| 'scripts-markup-styles-options'
| 'scripts-styles-markup-options'
| 'markup-styles-scripts-options'
| 'markup-scripts-styles-options'
| 'styles-markup-scripts-options'
| 'styles-scripts-markup-options'
| 'none';