The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #13748 from MisterDA/editorconfig

Add a `.editorconfig` file for basic editor auto-configuration

authored by

Gabriel Scherer and committed by
GitHub
26f05d4f 4bfea21f

+29 -1
+13
.editorconfig
··· 1 + root = true 2 + 3 + [*] 4 + charset = utf-8 5 + insert_final_newline = true 6 + trim_trailing_whitespace = true 7 + 8 + [*.ml*] 9 + indent_style = space 10 + 11 + [*.{c,h,h.in,sh,ac,m4}] 12 + indent_style = space 13 + indent_size = 2
+3 -1
.gitattributes
··· 20 20 .gitattributes typo.long-line=may typo.utf8 21 21 .gitmodules typo.long-line=may typo.tab=may 22 22 23 + .editorconfig typo.missing-header=may 24 + 23 25 # Binary files 24 26 /boot/ocamlc binary 25 27 /boot/ocamllex binary ··· 53 55 META.in typo.missing-header 54 56 55 57 # Hyperlinks and other markup features cause long lines 56 - *.adoc typo.long-line=may typo.very-long-line=may 58 + *.adoc typo.long-line=may typo.very-long-line=may typo.utf8=may 57 59 *.md typo.long-line=may typo.very-long-line=may 58 60 59 61 # Github templates and scripts lack headers, have long lines
+3
Changes
··· 254 254 (Ulysse Gérard, Leo White, review by Antonin Décimo, Gabriel Scherer, 255 255 Samuel Vivien, Florian Angeletti and Jacques Garrigue) 256 256 257 + - #13748: Add a .editorconfig file for basic editor auto-configuration. 258 + (Antonin Décimo, review by Gabriel Scherer and David Allsopp) 259 + 257 260 ### Build system: 258 261 259 262 - #13431: Simplify github action responsible for flagging PRs with
+10
HACKING.adoc
··· 237 237 git cherry-pick -x -m 1 <merge-commit-hash> 238 238 ---- 239 239 240 + === Code style 241 + 242 + Keep the style of the code you’re modifying. We don’t enforce the use of 243 + automated formatters. For OCaml code, 244 + https://github.com/OCamlPro/ocp-indent[ocp-indent] has been used. 245 + We use https://editorconfig.org/[EditorConfig] for simple styling. Lots of 246 + editors support EditorConfig 247 + https://editorconfig.org/#pre-installed[out-of-the-box], or with 248 + https://editorconfig.org/#download[plugins]. 249 + 240 250 [#opam-switch] 241 251 === Testing with `opam` 242 252