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