2 "name": "coc-prettier",
4 "description": "prettier extension for coc.nvim",
5 "main": "lib/index.js",
6 "publisher": "chemzqm",
15 "prepare": "node esbuild.js"
23 "title": "Prettier - Code formatter configuration",
25 "prettier.formatterPriority": {
28 "description": "Priority of format provider, default to 1 that higher than other languageserver formatter, change to -1 to make it lower priority."
30 "prettier.disableLanguages": {
38 "description": "A list of languages IDs to disable this extension on",
41 "prettier.eslintIntegration": {
44 "description": "Use 'prettier-eslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from eslint rules.",
47 "prettier.tslintIntegration": {
50 "description": "Use 'prettier-tslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from tslint rules.",
53 "prettier.stylelintIntegration": {
56 "description": "Use 'prettier-stylelint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from stylelint rules.",
59 "prettier.requireConfig": {
62 "description": "Require a 'prettierconfig' to format",
65 "prettier.onlyUseLocalVersion": {
68 "description": "Only use the version of prettier installed by the client, ignoring the version bundled with coc-prettier",
71 "prettier.disableSuccessMessage": {
74 "description": "Disable the 'Formatted by prettier' message which is echoed every time a file is successfully formatted",
77 "prettier.statusItemText": {
79 "default": "Prettier",
80 "description": "Text shown in status item.",
83 "prettier.ignorePath": {
85 "default": ".prettierignore",
86 "description": "Path to a .prettierignore or similar file",
89 "prettier.printWidth": {
92 "description": "Fit code within this line limit",
95 "prettier.tabWidth": {
98 "description": "Number of spaces it should use per tab",
101 "prettier.singleQuote": {
104 "description": "If true, will use single instead of double quotes",
107 "prettier.trailingComma": {
115 "description": "Controls the printing of trailing commas wherever possible.\n Valid options:\n 'none' - No trailing commas\n 'es5' - Trailing commas where valid in ES5 (objects, arrays, etc)\n 'all' - Trailing commas wherever possible (function arguments)",
118 "prettier.bracketSpacing": {
121 "description": "Controls the printing of spaces inside object literals",
124 "prettier.jsxBracketSameLine": {
127 "description": "If true, puts the `>` of a multi-line jsx element at the end of the last line instead of being alone on the next line",
130 "prettier.jsxSingleQuote": {
133 "description": "Use single quotes instead of double quotes in JSX"
135 "prettier.htmlWhitespaceSensitivity": {
143 "description": "Specify the global whitespace sensitivity for HTML files.\n Valid options: \n'css' - Respect the default value of CSS display property. \n'strict' - Whitespaces are considered sensitive. \n'ignore' - Whitespaces are considered insensitive."
145 "prettier.endOfLine": {
154 "description": "Specify the end of line used by prettier"
167 "description": "Override the parser. You shouldn't have to change this setting.",
173 "description": "Whether to add a semicolon at the end of every line",
176 "prettier.useTabs": {
179 "description": "Indent lines with tabs",
182 "prettier.proseWrap": {
189 "default": "preserve",
190 "description": "(Markdown) wrap prose over multiple lines"
192 "prettier.arrowParens": {
199 "description": "Include parentheses around a sole arrow function parameter",
206 "fileMatch": ".prettierrc",
207 "url": "http://json.schemastore.org/prettierrc"
210 "fileMatch": ".prettierrc.json",
211 "url": "http://json.schemastore.org/prettierrc"
214 "fileMatch": "package.json",
215 "url": "./package-json-schema.json"
219 "author": "chemzqm@gmail.com",
222 "@chemzqm/tsconfig": "^0.0.3",
223 "@types/node": "^14.14.31",
224 "@types/semver": "^7.3.4",
225 "coc.nvim": "^0.0.80",
226 "esbuild": "^0.8.54",
228 "resolve-from": "^5.0.0",
231 "typescript": "^4.2.2"
235 "prettier": "^2.2.1",
236 "prettier-eslint": "^12.0.0",
237 "prettier-stylelint": "^0.4.2",
238 "prettier-tslint": "^0.4.2"