diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..b63a89f6c6 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +# http://EditorConfig.org +# +# precedence of rules is bottom to top + +# this is the top-most EditorConfig file +root = true + + +[*] +# 4 space indentation +indent_style = space +indent_size = 4 + +# no end of line whitespaces +trim_trailing_whitespace = true + +# unix-style newlines +end_of_line = lf + +# newline ending in files +insert_final_newline = true + + +[*.md] +# two end of line whitespaces are newlines without a paragraph +trim_trailing_whitespace = false + + +[Makefile] +# TABs are part of its syntax +indent_style = tab +indent_size = unset diff --git a/.github/workflows/source/hasNonASCII b/.github/workflows/source/hasNonASCII index f2030e01e5..ca7c441dca 100755 --- a/.github/workflows/source/hasNonASCII +++ b/.github/workflows/source/hasNonASCII @@ -15,7 +15,7 @@ ok=0 pattern="\.c$|\.cpp$|\.F90$|\.h$|\.H$|\.ini$|\.py$|"\ -"\.rst$|\.sh$|\.tex$|\.txt$|\.xml$|\.yml$|"\ +"\.rst$|\.sh$|\.tex$|\.txt$|\.xml$|\.yml$|\.yaml$|"\ "CMakeLists\.txt|inputs" for i in $(find . \