aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-06-05 22:06:16 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-06-05 22:06:16 -0600
commitc42cd583a20bcd1e8f34100fe52b0e7b0cbd9d67 (patch)
tree6a39ff3c6904066ac6c5229ba8be2ae54e103ae8
parent7b48dd2428d35b29bdffeedce5be52d4acf2cfca (diff)
downloadpersonal-web-c42cd583a20bcd1e8f34100fe52b0e7b0cbd9d67.tar.gz
personal-web-c42cd583a20bcd1e8f34100fe52b0e7b0cbd9d67.zip
Changed config file for Prettier.
From `.editorconfig` to `.prettierrc`.
-rw-r--r--.editorconfig19
-rw-r--r--.prettierrc22
2 files changed, 22 insertions, 19 deletions
diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index 2b740bf..0000000
--- a/.editorconfig
+++ /dev/null
@@ -1,19 +0,0 @@
-root = true
-
-[*]
-charset = utf-8
-indent_style = space
-indent_size = 2
-trim_trailing_whitespace = true
-# Unix-style newlines with a newline ending every file
-end_of_line = lf
-insert_final_newline = true
-
-[*.{js,css,scss}]
-quote_type = single
-
-[*.{yml,yaml}]
-quote_type = double
-
-[*.md]
-trim_trailing_whitespace = false
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..ee60839
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,22 @@
+{
+ "arrowParens": "always",
+ "bracketSpacing": true,
+ "endOfLine": "lf",
+ "htmlWhitespaceSensitivity": "css",
+ "insertPragma": false,
+ "singleAttributePerLine": false,
+ "bracketSameLine": false,
+ "jsxBracketSameLine": false,
+ "jsxSingleQuote": false,
+ "printWidth": 80,
+ "proseWrap": "always",
+ "quoteProps": "as-needed",
+ "requirePragma": false,
+ "semi": true,
+ "singleQuote": false,
+ "tabWidth": 4,
+ "trailingComma": "es5",
+ "useTabs": false,
+ "embeddedLanguageFormatting": "auto",
+ "vueIndentScriptAndStyle": false
+} \ No newline at end of file