1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/cli/tests/testdata/lsp
Bartek Iwańczuk 0dbeb774ba
feat(fmt): add support for configuration file (#11944)
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"
        }
    }
}
2021-09-13 20:19:10 +02:00
..
registries
a.d.ts
b.d.ts
code_action_ignore_lint_params.json
code_action_ignore_lint_response.json
code_action_params.json
code_action_params_cache.json
code_action_params_deadlock.json
code_action_params_imports.json
code_action_params_refactor.json
code_action_resolve_params.json
code_action_resolve_params_imports.json
code_action_resolve_params_refactor.json
code_action_resolve_response.json
code_action_resolve_response_imports.json
code_action_resolve_response_refactor.json
code_action_response.json
code_action_response_cache.json
code_action_response_imports.json
code_action_response_no_disabled.json
code_action_response_refactor.json
code_lens_resolve_response.json
code_lens_resolve_response_impl.json
code_lens_response.json
code_lens_response_changed.json
code_lens_response_impl.json
code_lens_response_test.json
completion_request_params_optional.json
completion_request_response_empty.json
completion_resolve_params.json
completion_resolve_params_optional.json
completion_resolve_params_registry.json
completion_resolve_response.json
completion_resolve_response_registry.json
deno.fmt.jsonc feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
diagnostics_deno_deps.json
diagnostics_deno_types.json
did_open_params_deno_types.json
did_open_params_doc_symbol.json
did_open_params_import_hover.json
did_open_params_large.json
did_open_params_semantic_tokens.json
did_open_params_test_code_lens.json
document_symbol_response.json
formatting_mbc_response.json
import-map.json
incoming_calls_params.json
incoming_calls_response.json
initialize_params.json
initialize_params_bad_config_option.json
initialize_params_ca_no_disabled.json
initialize_params_code_lens_test.json
initialize_params_code_lens_test_disabled.json
initialize_params_did_config_change.json
initialize_params_disabled.json
initialize_params_import_map.json
initialize_params_registry.json
initialize_params_unstable.json
lib.tsconfig.json
outgoing_calls_params.json
outgoing_calls_response.json
prepare_call_hierarchy_response.json
rename_response.json
selection_range_response.json
types.tsconfig.json