From 935c85c2e2f66c75563edb95a71494e91c9dc4b8 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 2 Mar 2021 15:45:14 +0100 Subject: [PATCH] add .editorconfig as per #14 close #14 (https://git.dotya.ml/wanderer/pwt-0x01-ng/issues/14) --- .editorconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2aeb29d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = tab +indent_size = 4 +tab_width = 4 + +[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}] +end_of_line = lf +indent_style = space +indent_size = 2 + +[{*.yaml,*.yml}] +end_of_line = lf +indent_style = space +indent_size = 2 + +[*.js.map] +end_of_line = lf +indent_style = space +indent_size = 2 + +[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,hlsl,hlsli,hlslinc,master,nuspec,paml,razor,resw,resx,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}] +end_of_line = lf +indent_style = tab +indent_size = 4 +tab_width = 4