aboutsummaryrefslogtreecommitdiff
path: root/.cmake-format.json
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-01-03 23:10:06 +0000
committerGitHub <noreply@github.com>2024-01-04 00:10:06 +0100
commiteda88bd1707aa1f736cec41b61ed73aa15585271 (patch)
tree3145d638ced11e1213c21c00e880ac9a950f5ae1 /.cmake-format.json
parenta59c64becdbd83766fa91ecfdf90295353e8d742 (diff)
downloadNorthstarLauncher-eda88bd1707aa1f736cec41b61ed73aa15585271.tar.gz
NorthstarLauncher-eda88bd1707aa1f736cec41b61ed73aa15585271.zip
Add cmake format check to CI (#630)
Diffstat (limited to '.cmake-format.json')
-rw-r--r--.cmake-format.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/.cmake-format.json b/.cmake-format.json
new file mode 100644
index 00000000..b819f8cd
--- /dev/null
+++ b/.cmake-format.json
@@ -0,0 +1,26 @@
+{
+ "format": {
+ "line_width": 120,
+ "tab_size": 4,
+ "use_tabchars": false,
+ "fractional_tab_policy": "use-space",
+ "max_subgroups_hwrap": 2,
+ "max_pargs_hwrap": 2,
+ "max_rows_cmdline": 2,
+ "separate_ctrl_name_with_space": false,
+ "separate_fn_name_with_space": false,
+ "dangle_parens": true,
+ "dangle_align": "child",
+ "min_prefix_chars": 4,
+ "max_prefix_chars": 10,
+ "max_lines_hwrap": 2,
+ "line_ending": "unix",
+ "command_case": "canonical",
+ "keyword_case": "unchanged",
+ "always_wrap": [],
+ "enable_sort": true,
+ "autosort": false,
+ "require_valid_layout": false,
+ "layout_passes": {}
+ }
+}