Skip to content

Commit

Permalink
fixed jsxbracket option deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ntotten committed Jul 21, 2022
1 parent c3b340d commit 5680696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"type": "boolean",
"default": false,
"markdownDescription": "%ext.config.jsxBracketSameLine%",
"deprecationMessage": "%ext.config.jsxBracketSameLineDeprecation%",
"scope": "resource"
},
"prettier.semi": {
Expand Down
3 changes: 2 additions & 1 deletion package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"ext.config.insertPragma": "Prettier can insert a special @format marker at the top of files specifying that the file has been formatted with prettier. This works well when used in tandem with the `--require-pragma` option. If there is already a docblock at the top of the file then this option will add a newline to it with the @format marker.",
"ext.config.singleAttributePerLine": "If true, enforces single attribute per line in HTML, Vue and JSX.",
"ext.config.bracketSameLine": "If true, puts the `>` of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).",
"ext.config.jsxBracketSameLine": "**DEPRECATED** since Prettier v2.4.0, use `bracketSameLine` instead.\n\nIf true, puts the `>` of a multi-line jsx element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).",
"ext.config.jsxBracketSameLine": "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 (does not apply to self closing elements).",
"ext.config.jsxBracketSameLineDeprecation": "This option has been deprecated in v2.4.0, use `bracketSameLine` instead.",
"ext.config.jsxSingleQuote": "Use single quotes instead of double quotes in JSX",
"ext.config.packageManager": "The package manager you use to install node modules.",
"ext.config.packageManagerDeprecation": "Package manager is now automatically detected by VS Code. This setting is no longer used.",
Expand Down

0 comments on commit 5680696

Please sign in to comment.