Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,22 +1,46 @@
; https://editorconfig.org/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120
ij_visual_guides = 80, 120

[manifest/**.{json,xml}]
indent_style = space
indent_size = 4

[*.sh]
indent_style = space
indent_size = 4
shell_variant = bash
binary_next_line = false
ij_shell_binary_ops_start_line = false
switch_case_indent = true
ij_shell_switch_cases_indented = true
space_redirects = true
ij_shell_redirect_followed_by_space = true
keep_padding = true
ij_shell_minify_program = false
function_next_line = false

[*.{go,go2}]
indent_style = tab
indent_size = 4
ij_go_run_go_fmt_on_reformat = true

[*.{yml,yaml}]
indent_size = 2
indent_style = space
ij_yaml_spaces_within_brackets = false
ij_yaml_spaces_within_braces = false

[*.{js,ts}]
indent_style = space
indent_size = 2

[*.py]
ij_python_align_multiline_parameters = false
2 changes: 1 addition & 1 deletion docs/api/paths/admin/keyspace-_raw-docid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ get:
schema:
type: object
example:
{"channels":["a", "ecWZjZjcpg"], "myblob":{"length":11, "content_type":"text/plain", "digest":"sha1-Kq5sNclPz7QV2+lfQIuc6R7oRu0=", "@type":"blob"}, "_xattrs":{"_sync":{"cas":"0x000097d3e4e45418", "channel_set":[{"name":"a", "start":3128}, {"name":"ecWZjZjcpg", "start":3128}], "channel_set_history":null, "channels":{"a":null, "ecWZjZjcpg":null}, "cluster_uuid":"ba2606db6dccedbcf4a6d3f66e242b8b", "history":{"channels":[["a", "ecWZjZjcpg"]], "parents":[-1], "revs":["1-525e04f141fbd0394d693531593105b88dbe0b25"]}, "recent_sequences":[3128], "rev":{"rev":"1-525e04f141fbd0394d693531593105b88dbe0b25", "src":"zTWkmBiYZgNQo7BHVZrB/Q", "ver":"0x000097d3e4e45418"}, "sequence":3128, "time_saved":"2025-07-23T14:37:06.407392+01:00", "value_crc32c":"0x38db3c8c"}, "_globalSync":{"attachments_meta":{"blob_/myblob":{"content_type":"text/plain", "digest":"sha1-Kq5sNclPz7QV2+lfQIuc6R7oRu0=", "length":11, "revpos":1, "stub":true, "ver":2}}}, "_mou":null, "_vv":{"cvCas":"0x000097d3e4e45418", "src":"zTWkmBiYZgNQo7BHVZrB/Q", "ver":"0x000097d3e4e45418"}}}
{"channels": ["a", "ecWZjZjcpg"], "myblob": {"length": 11, "content_type": "text/plain", "digest": "sha1-Kq5sNclPz7QV2+lfQIuc6R7oRu0=", "@type": "blob"}, "_xattrs": {"_sync": {"cas": "0x000097d3e4e45418", "channel_set": [{"name": "a", "start": 3128}, {"name": "ecWZjZjcpg", "start": 3128}], "channel_set_history": null, "channels": {"a": null, "ecWZjZjcpg": null}, "cluster_uuid": "ba2606db6dccedbcf4a6d3f66e242b8b", "history": {"channels": [["a", "ecWZjZjcpg"]], "parents": [-1], "revs": ["1-525e04f141fbd0394d693531593105b88dbe0b25"]}, "recent_sequences": [3128], "rev": {"rev": "1-525e04f141fbd0394d693531593105b88dbe0b25", "src": "zTWkmBiYZgNQo7BHVZrB/Q", "ver": "0x000097d3e4e45418"}, "sequence": 3128, "time_saved": "2025-07-23T14:37:06.407392+01:00", "value_crc32c": "0x38db3c8c"}, "_globalSync": {"attachments_meta": {"blob_/myblob": {"content_type": "text/plain", "digest": "sha1-Kq5sNclPz7QV2+lfQIuc6R7oRu0=", "length": 11, "revpos": 1, "stub": true, "ver": 2}}}, "_mou": null, "_vv": {"cvCas": "0x000097d3e4e45418", "src": "zTWkmBiYZgNQo7BHVZrB/Q", "ver": "0x000097d3e4e45418"}}}
additionalProperties: true
properties:
_xattrs:
Expand Down
8 changes: 4 additions & 4 deletions docs/api/plugins/decorators/replace-description-capella.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ function ReplaceDescriptionCapella() {
Operation: {
leave(Operation) {
if (Operation.description) {
Operation.description = Operation.description.replace(
"Sync Gateway",
"App Services",
);
Operation.description = Operation.description.replace(
"Sync Gateway",
"App Services",
);
}
},
},
Expand Down
2 changes: 1 addition & 1 deletion docs/api/plugins/decorators/replace-server-capella.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
module.exports = ReplaceServersCapella;

/** @type {import('@redocly/cli').OasDecorator} */
function ReplaceServersCapella({ serverUrl }) {
function ReplaceServersCapella({serverUrl}) {
return {
Server: {
leave(Server) {
Expand Down
2 changes: 1 addition & 1 deletion docs/api/replace-servers-capella.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = ReplaceServersCapella;

/** @type {import('@redocly/cli').OasDecorator} */

function ReplaceServersCapella({ serverUrl }) {
function ReplaceServersCapella({serverUrl}) {
return {
Server: {
leave(Server) {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extraPaths = ["tools"]
extend-include = ["tools/sgcollect_info"]

[tool.ruff.lint]
extend-select = ["I","B006"] # isort, mutable default argument
extend-select = ["I", "B006"] # isort, mutable default argument

# test only dependencies
[dependency-groups]
Expand Down