diff options
| author | Christian Hopps <chopps@labn.net> | 2023-04-18 05:12:58 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-04-18 05:18:26 -0400 |
| commit | 960ab543cf3c6c2cffc587da8bbe3f25515c9abe (patch) | |
| tree | 624e333114b025bdd24a3ddd115652ace709319d /tools | |
| parent | 74aad5ab559cc39f52137292b3b38d2d07eff428 (diff) | |
style: add format checker config that matches FRR style standards
Also move .dir-locals.el to a sample file. This file should not be
in the repository as it affects the user's ability to modify it.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/emacs.dir-locals.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/emacs.dir-locals.el b/tools/emacs.dir-locals.el new file mode 100644 index 0000000000..b2d7cf376d --- /dev/null +++ b/tools/emacs.dir-locals.el @@ -0,0 +1,8 @@ +;;; Directory Local Variables +;;; For more information see (info "(emacs) Directory Variables") +;;; Match project coding conventions + +((c-mode . ((indent-tabs-mode . t) + (show-trailing-whitespace . t) + (c-basic-offset . 8))) + (json-mode . ((js-indent-level 4)))) |
