diff --git a/.ecrc.json b/.ecrc.json new file mode 100644 index 0000000..dc2d0af --- /dev/null +++ b/.ecrc.json @@ -0,0 +1,3 @@ +{ + "Exclude": ["Cargo\\.lock$"] +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8759d9b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Use 4 spaces for Python, Rust and Bash files +[*.{py,rs,sh,md}] +indent_size = 4 + +# Makefiles always use tabs for indentation +[Makefile] +indent_style = tab + +[*.bat] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..42dc01a --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +target +node_modules +dist/**/* +!dist/twitter.css