chore: code formatting
This commit is contained in:
parent
4f6c3ba325
commit
f06f768adc
2 changed files with 29 additions and 0 deletions
16
.editorconfig
Executable file
16
.editorconfig
Executable 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
13
.prettierrc
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue