2 "name": "coc-prettier",
4 "description": "prettier extension for coc.nvim",
5 "main": "lib/index.js",
6 "publisher": "chemzqm",
15 "watch": "webpack --watch",
16 "build": "tsc -p tsconfig.json",
25 "title": "Prettier - Code formatter configuration",
27 "prettier.formatterPriority": {
30 "description": "Priority of format provider, default to 1 that higher than other languageserver formatter, change to -1 to make it lower priority."
32 "prettier.disableLanguages": {
40 "description": "A list of languages IDs to disable this extension on",
43 "prettier.eslintIntegration": {
46 "description": "Use 'prettier-eslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from eslint rules.",
49 "prettier.tslintIntegration": {
52 "description": "Use 'prettier-tslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from tslint rules.",
55 "prettier.stylelintIntegration": {
58 "description": "Use 'prettier-stylelint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from stylelint rules.",
61 "prettier.requireConfig": {
64 "description": "Require a 'prettierconfig' to format",
67 "prettier.onlyUseLocalVersion": {
70 "description": "Only use the version of prettier installed by the client, ignoring the version bundled with coc-prettier",
73 "prettier.disableSuccessMessage": {
76 "description": "Disable the 'Formatted by prettier' message which is echoed every time a file is successfully formatted",
79 "prettier.statusItemText": {
81 "default": "Prettier",
82 "description": "Text shown in status item.",
85 "prettier.ignorePath": {
87 "default": ".prettierignore",
88 "description": "Path to a .prettierignore or similar file",
91 "prettier.printWidth": {
94 "description": "Fit code within this line limit",
97 "prettier.tabWidth": {
100 "description": "Number of spaces it should use per tab",
103 "prettier.singleQuote": {
106 "description": "If true, will use single instead of double quotes",
109 "prettier.trailingComma": {
117 "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)",
120 "prettier.bracketSpacing": {
123 "description": "Controls the printing of spaces inside object literals",
126 "prettier.jsxBracketSameLine": {
129 "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",
132 "prettier.jsxSingleQuote": {
135 "description": "Use single quotes instead of double quotes in JSX"
137 "prettier.htmlWhitespaceSensitivity": {
145 "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."
147 "prettier.endOfLine": {
156 "description": "Specify the end of line used by prettier"
169 "description": "Override the parser. You shouldn't have to change this setting.",
175 "description": "Whether to add a semicolon at the end of every line",
178 "prettier.useTabs": {
181 "description": "Indent lines with tabs",
184 "prettier.proseWrap": {
191 "default": "preserve",
192 "description": "(Markdown) wrap prose over multiple lines"
194 "prettier.arrowParens": {
201 "description": "Include parentheses around a sole arrow function parameter",
208 "fileMatch": ".prettierrc",
209 "url": "http://json.schemastore.org/prettierrc"
212 "fileMatch": ".prettierrc.json",
213 "url": "http://json.schemastore.org/prettierrc"
216 "fileMatch": "package.json",
217 "url": "./package-json-schema.json"
221 "author": "chemzqm@gmail.com",
224 "@chemzqm/tsconfig": "^0.0.3",
225 "@types/node": "^14.14.5",
226 "@types/semver": "^7.3.4",
227 "coc.nvim": "^0.0.79",
229 "resolve-from": "^5.0.0",
232 "ts-loader": "^8.0.7",
233 "typescript": "^4.0.5",
234 "vscode-languageserver-protocol": "^3.15.3",
236 "webpack-cli": "^4.1.0"
240 "prettier": "^2.1.2",
241 "prettier-eslint": "^11.0.0",
242 "prettier-stylelint": "^0.4.2",
243 "prettier-tslint": "^0.4.2"