mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
* upgrade dependencies * upgrade dependencies * format code * update nextjs * fixes * chore: update graphql generator * fixes * fixes * fixes
22 lines
335 B
TypeScript
22 lines
335 B
TypeScript
export const prettierParsers = {
|
|
css: "postcss",
|
|
javascript: "babel",
|
|
jsx: "babel",
|
|
svg: "html",
|
|
xml: "html",
|
|
typescript: "typescript",
|
|
};
|
|
|
|
export const supportedLanguages = [
|
|
"json",
|
|
"babylon",
|
|
"html",
|
|
"postcss",
|
|
"graphql",
|
|
"markdown",
|
|
"yaml",
|
|
"typescript",
|
|
"flow",
|
|
...Object.keys(prettierParsers),
|
|
];
|