forked from pulp-platform/riscv-opcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
38 lines (31 loc) · 820 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2021 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# EditorConfig (http://editorconfig.org/)
root = true
# Default Settings
[*]
charset = utf-8
end_of_line = lf
tab_width = 2
indent_size = 2
indent_style = space
max_line_length = 80
trim_trailing_whitespace = true
insert_final_newline = true
[*.{sv,svh,v,vg}]
max_line_length = 100
[{Makefile,Makefile.*,*.mk,*.mk.*}]
indent_style = tab
[*.py]
indent_size = 4
[COMMIT_EDITMSG]
max_line_length = 72
# The format in diffs should be preserved, so disable all formatting options for them.
[*.{diff,patch}]
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = false
max_line_length = 0
trim_trailing_whitespace = false