Created
July 31, 2019 18:25
-
-
Save kentcdodds/e67f7d2b74f3e112b80051e02925e0f2 to your computer and use it in GitHub Desktop.
The default "languages" supported in prettier
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
[ | |
{ | |
"name": "JavaScript", | |
"type": "programming", | |
"tmScope": "source.js", | |
"aceMode": "javascript", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "text/javascript", | |
"color": "#f1e05a", | |
"aliases": [ | |
"js", | |
"node" | |
], | |
"extensions": [ | |
".js", | |
"._js", | |
".bones", | |
".es", | |
".es6", | |
".frag", | |
".gs", | |
".jake", | |
".jsb", | |
".jscad", | |
".jsfl", | |
".jsm", | |
".jss", | |
".mjs", | |
".njs", | |
".pac", | |
".sjs", | |
".ssjs", | |
".xsjs", | |
".xsjslib" | |
], | |
"filenames": [ | |
"Jakefile" | |
], | |
"interpreters": [ | |
"node", | |
"nodejs" | |
], | |
"linguistLanguageId": 183, | |
"since": "0.0.0", | |
"parsers": [ | |
"babel", | |
"flow" | |
], | |
"vscodeLanguageIds": [ | |
"javascript" | |
] | |
}, | |
{ | |
"name": "Flow", | |
"type": "programming", | |
"tmScope": "source.js", | |
"aceMode": "javascript", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "text/javascript", | |
"color": "#f1e05a", | |
"aliases": [], | |
"extensions": [ | |
".js.flow" | |
], | |
"filenames": [], | |
"interpreters": [ | |
"node" | |
], | |
"linguistLanguageId": 183, | |
"since": "0.0.0", | |
"parsers": [ | |
"babel", | |
"flow" | |
], | |
"vscodeLanguageIds": [ | |
"javascript" | |
] | |
}, | |
{ | |
"name": "JSX", | |
"type": "programming", | |
"group": "JavaScript", | |
"extensions": [ | |
".jsx" | |
], | |
"tmScope": "source.js.jsx", | |
"aceMode": "javascript", | |
"codemirrorMode": "jsx", | |
"codemirrorMimeType": "text/jsx", | |
"linguistLanguageId": 178, | |
"since": "0.0.0", | |
"parsers": [ | |
"babel", | |
"flow" | |
], | |
"vscodeLanguageIds": [ | |
"javascriptreact" | |
] | |
}, | |
{ | |
"name": "TypeScript", | |
"type": "programming", | |
"color": "#2b7489", | |
"aliases": [ | |
"ts" | |
], | |
"extensions": [ | |
".ts", | |
".tsx" | |
], | |
"tmScope": "source.ts", | |
"aceMode": "typescript", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "application/typescript", | |
"linguistLanguageId": 378, | |
"since": "1.4.0", | |
"parsers": [ | |
"typescript" | |
], | |
"vscodeLanguageIds": [ | |
"typescript", | |
"typescriptreact" | |
] | |
}, | |
{ | |
"name": "JSON.stringify", | |
"type": "data", | |
"tmScope": "source.json", | |
"group": "JavaScript", | |
"aceMode": "json", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "application/json", | |
"searchable": false, | |
"extensions": [], | |
"filenames": [ | |
"package.json", | |
"package-lock.json", | |
"composer.json" | |
], | |
"linguistLanguageId": 174, | |
"since": "1.13.0", | |
"parsers": [ | |
"json-stringify" | |
], | |
"vscodeLanguageIds": [ | |
"json" | |
] | |
}, | |
{ | |
"name": "JSON", | |
"type": "data", | |
"tmScope": "source.json", | |
"group": "JavaScript", | |
"aceMode": "json", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "application/json", | |
"searchable": false, | |
"extensions": [ | |
".json", | |
".avsc", | |
".geojson", | |
".gltf", | |
".JSON-tmLanguage", | |
".jsonl", | |
".tfstate", | |
".tfstate.backup", | |
".topojson", | |
".webapp", | |
".webmanifest" | |
], | |
"filenames": [ | |
".arcconfig", | |
".htmlhintrc", | |
".tern-config", | |
".tern-project", | |
"composer.lock", | |
"mcmod.info", | |
".prettierrc" | |
], | |
"linguistLanguageId": 174, | |
"since": "1.5.0", | |
"parsers": [ | |
"json" | |
], | |
"vscodeLanguageIds": [ | |
"json" | |
] | |
}, | |
{ | |
"name": "JSON with Comments", | |
"type": "data", | |
"group": "JSON", | |
"tmScope": "source.js", | |
"aceMode": "javascript", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "text/javascript", | |
"aliases": [ | |
"jsonc" | |
], | |
"extensions": [ | |
".sublime-build", | |
".sublime-commands", | |
".sublime-completions", | |
".sublime-keymap", | |
".sublime-macro", | |
".sublime-menu", | |
".sublime-mousemap", | |
".sublime-project", | |
".sublime-settings", | |
".sublime-theme", | |
".sublime-workspace", | |
".sublime_metrics", | |
".sublime_session" | |
], | |
"filenames": [ | |
".babelrc", | |
".eslintrc.json", | |
".jscsrc", | |
".jshintrc", | |
".jslintrc", | |
"tsconfig.json", | |
".eslintrc" | |
], | |
"linguistLanguageId": 423, | |
"since": "1.5.0", | |
"parsers": [ | |
"json" | |
], | |
"vscodeLanguageIds": [ | |
"jsonc" | |
] | |
}, | |
{ | |
"name": "JSON5", | |
"type": "data", | |
"extensions": [ | |
".json5" | |
], | |
"tmScope": "source.js", | |
"aceMode": "javascript", | |
"codemirrorMode": "javascript", | |
"codemirrorMimeType": "application/json", | |
"linguistLanguageId": 175, | |
"since": "1.13.0", | |
"parsers": [ | |
"json5" | |
], | |
"vscodeLanguageIds": [ | |
"json5" | |
] | |
}, | |
{ | |
"name": "CSS", | |
"type": "markup", | |
"tmScope": "source.css", | |
"aceMode": "css", | |
"codemirrorMode": "css", | |
"codemirrorMimeType": "text/css", | |
"color": "#563d7c", | |
"extensions": [ | |
".css" | |
], | |
"linguistLanguageId": 50, | |
"since": "1.4.0", | |
"parsers": [ | |
"css" | |
], | |
"vscodeLanguageIds": [ | |
"css" | |
] | |
}, | |
{ | |
"name": "PostCSS", | |
"type": "markup", | |
"tmScope": "source.postcss", | |
"group": "CSS", | |
"extensions": [ | |
".pcss", | |
".postcss" | |
], | |
"aceMode": "text", | |
"linguistLanguageId": 262764437, | |
"since": "1.4.0", | |
"parsers": [ | |
"css" | |
], | |
"vscodeLanguageIds": [ | |
"postcss" | |
] | |
}, | |
{ | |
"name": "Less", | |
"type": "markup", | |
"group": "CSS", | |
"extensions": [ | |
".less" | |
], | |
"tmScope": "source.css.less", | |
"aceMode": "less", | |
"codemirrorMode": "css", | |
"codemirrorMimeType": "text/css", | |
"linguistLanguageId": 198, | |
"since": "1.4.0", | |
"parsers": [ | |
"less" | |
], | |
"vscodeLanguageIds": [ | |
"less" | |
] | |
}, | |
{ | |
"name": "SCSS", | |
"type": "markup", | |
"tmScope": "source.scss", | |
"group": "CSS", | |
"aceMode": "scss", | |
"codemirrorMode": "css", | |
"codemirrorMimeType": "text/x-scss", | |
"extensions": [ | |
".scss" | |
], | |
"linguistLanguageId": 329, | |
"since": "1.4.0", | |
"parsers": [ | |
"scss" | |
], | |
"vscodeLanguageIds": [ | |
"scss" | |
] | |
}, | |
{ | |
"name": "GraphQL", | |
"type": "data", | |
"extensions": [ | |
".graphql", | |
".gql" | |
], | |
"tmScope": "source.graphql", | |
"aceMode": "text", | |
"linguistLanguageId": 139, | |
"since": "1.5.0", | |
"parsers": [ | |
"graphql" | |
], | |
"vscodeLanguageIds": [ | |
"graphql" | |
] | |
}, | |
{ | |
"name": "Markdown", | |
"type": "prose", | |
"aliases": [ | |
"pandoc" | |
], | |
"aceMode": "markdown", | |
"codemirrorMode": "gfm", | |
"codemirrorMimeType": "text/x-gfm", | |
"wrap": true, | |
"extensions": [ | |
".md", | |
".markdown", | |
".mdown", | |
".mdwn", | |
".mkd", | |
".mkdn", | |
".mkdown", | |
".ronn", | |
".workbook" | |
], | |
"tmScope": "source.gfm", | |
"linguistLanguageId": 222, | |
"filenames": [ | |
"README" | |
], | |
"since": "1.8.0", | |
"parsers": [ | |
"markdown" | |
], | |
"vscodeLanguageIds": [ | |
"markdown" | |
] | |
}, | |
{ | |
"name": "MDX", | |
"extensions": [ | |
".mdx" | |
], | |
"since": "1.15.0", | |
"parsers": [ | |
"mdx" | |
], | |
"vscodeLanguageIds": [ | |
"mdx" | |
] | |
}, | |
{ | |
"name": "Angular", | |
"type": "markup", | |
"tmScope": "text.html.basic", | |
"aceMode": "html", | |
"codemirrorMode": "htmlmixed", | |
"codemirrorMimeType": "text/html", | |
"color": "#e34c26", | |
"aliases": [ | |
"xhtml" | |
], | |
"extensions": [ | |
".component.html" | |
], | |
"linguistLanguageId": 146, | |
"since": "1.15.0", | |
"parsers": [ | |
"angular" | |
], | |
"vscodeLanguageIds": [ | |
"html" | |
], | |
"filenames": [] | |
}, | |
{ | |
"name": "HTML", | |
"type": "markup", | |
"tmScope": "text.html.basic", | |
"aceMode": "html", | |
"codemirrorMode": "htmlmixed", | |
"codemirrorMimeType": "text/html", | |
"color": "#e34c26", | |
"aliases": [ | |
"xhtml" | |
], | |
"extensions": [ | |
".html", | |
".htm", | |
".html.hl", | |
".inc", | |
".st", | |
".xht", | |
".xhtml", | |
".mjml" | |
], | |
"linguistLanguageId": 146, | |
"since": "1.15.0", | |
"parsers": [ | |
"html" | |
], | |
"vscodeLanguageIds": [ | |
"html" | |
] | |
}, | |
{ | |
"name": "Lightning Web Components", | |
"type": "markup", | |
"tmScope": "text.html.basic", | |
"aceMode": "html", | |
"codemirrorMode": "htmlmixed", | |
"codemirrorMimeType": "text/html", | |
"color": "#e34c26", | |
"aliases": [ | |
"xhtml" | |
], | |
"extensions": [], | |
"linguistLanguageId": 146, | |
"since": "1.17.0", | |
"parsers": [ | |
"lwc" | |
], | |
"vscodeLanguageIds": [ | |
"html" | |
], | |
"filenames": [] | |
}, | |
{ | |
"name": "Vue", | |
"type": "markup", | |
"color": "#2c3e50", | |
"extensions": [ | |
".vue" | |
], | |
"tmScope": "text.html.vue", | |
"aceMode": "html", | |
"linguistLanguageId": 391, | |
"since": "1.10.0", | |
"parsers": [ | |
"vue" | |
], | |
"vscodeLanguageIds": [ | |
"vue" | |
] | |
}, | |
{ | |
"name": "YAML", | |
"type": "data", | |
"tmScope": "source.yaml", | |
"aliases": [ | |
"yml" | |
], | |
"extensions": [ | |
".yml", | |
".mir", | |
".reek", | |
".rviz", | |
".sublime-syntax", | |
".syntax", | |
".yaml", | |
".yaml-tmlanguage", | |
".yml.mysql" | |
], | |
"filenames": [ | |
".clang-format", | |
".clang-tidy", | |
".gemrc", | |
"glide.lock" | |
], | |
"aceMode": "yaml", | |
"codemirrorMode": "yaml", | |
"codemirrorMimeType": "text/x-yaml", | |
"linguistLanguageId": 407, | |
"since": "1.14.0", | |
"parsers": [ | |
"yaml" | |
], | |
"vscodeLanguageIds": [ | |
"yaml" | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment