mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
0dbeb774ba
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" } } }
505 B
505 B
Permissions
Deno is secure by default. Therefore, unless you specifically enable it, a program run with Deno has no file, network, or environment access. Access to security sensitive functionality requires that permisisons have been granted to an executing script through command line flags, or a runtime permission prompt.
For the following example mod.ts
has
been granted read-only access to the
file system. It cannot write to the file
system, or perform any other security
sensitive functions.