From f06f768adc2740acac64d1fe1967ca06c041a168 Mon Sep 17 00:00:00 2001 From: Maurice Renck Date: Sat, 30 Mar 2024 13:39:52 +0100 Subject: [PATCH] chore: code formatting --- .editorconfig | 16 ++++++++++++++++ .prettierrc | 13 +++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 .editorconfig create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig new file mode 100755 index 0000000..97b8523 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +[*.{css,scss,less,js,json,ts,sass,html,hbs,mustache,phtml,html.twig,md,yml}] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +indent_size = 4 +trim_trailing_whitespace = false + +[package.json,.{babelrc,editorconfig,eslintrc,lintstagedrc,stylelintrc}] +indent_style = space +indent_size = 2 diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..9cdbd69 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,13 @@ +{ + "endOfLine": "lf", + "semi": false, + "tabWidth": 4, + "singleQuote": true, + "trailingComma": "es5", + "eslintIntegration": false, + "tslintIntegration": true, + "printWidth": 120, + "tslint.packageManager": "npm", + "npm.packageManager": "npm", + "prettier.tslintIntegration": true +}