Age | Commit message (Collapse) | Author |
|
Closes #17172
Closes #15669
Closes #8529
|
|
Closes #17010
|
|
Formats code according to Unicode Standard Annex #11 rules
(https://crates.io/crates/unicode-width).
This aligns `deno fmt` more with prettier.
|
|
|
|
in inline links (#16769)
https://github.com/dprint/dprint-plugin-markdown/pull/69
Closes #16730
|
|
|
|
directories (#15949)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#14725)
|
|
|
|
multiple lines (#14292)
Closes #14291
|
|
|
|
|
|
|
|
|
|
start of paragraph (#13429)
|
|
|
|
|
|
Deno's module loader currently strips a shebang if a module file
starts with one. However, this is no longer necessary, since there is
a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the
language (https://github.com/tc39/proposal-hashbang), and V8, `tsc`
and `swc` all support it.
Furthermore, stripping shebangs causes a correctness bug with JSON
modules, since a JSON file with a shebang should not parse as a JSON
module, yet it does with this stripping. This change fixes this.
|
|
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
space html entities (#12818)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#12348)
This reverts commit d5b38a992933db5cb2d0221e9d82af191022dad5.
|
|
|
|
This commit adds support for configuration file for "deno fmt"
subcommand. It is also respected by LSP when formatting
files.
Example configuration:
{
"fmt": {
"files": {
"include": ["src/"],
"exclude": ["src/testdata/"]
},
"options": {
"useTabs": true,
"lineWidth": 80,
"indentWidth": 4,
"singleQuote": true,
"textWrap": "preserve"
}
}
}
|
|
|
|
|
|
Co-authored-by: David Sherret <dsherret@gmail.com>
|
|
Co-authored-by: David Sherret <dsherret@gmail.com>
|
|
|
|
multi-line (#11582)
|
|
|
|
(#11209)
|
|
|