chore: code formatting

This commit is contained in:
Maurice Renck 2024-03-30 13:39:52 +01:00
parent 4f6c3ba325
commit f06f768adc
No known key found for this signature in database
GPG key ID: D0268340AC44A414
2 changed files with 29 additions and 0 deletions

16
.editorconfig Executable file
View file

@ -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

13
.prettierrc Normal file
View file

@ -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
}