]> git.mxchange.org Git - friendica.git/commitdiff
add frio formatting file
authorExtarys <hypewolf@protonmail.com>
Thu, 21 Jan 2021 23:16:22 +0000 (18:16 -0500)
committerExtarys <hypewolf@protonmail.com>
Thu, 21 Jan 2021 23:16:22 +0000 (18:16 -0500)
.editorconfig
view/theme/frio/.eslintrc.json [new file with mode: 0644]
view/theme/frio/.prettierrc [new file with mode: 0644]

index 7692ac78b5d41b76d597857faba75e53383e0768..af67d04a3b9d832fdeb925b1d5f1368ba476015e 100644 (file)
@@ -8,3 +8,7 @@ charset = utf-8
 end_of_line = lf
 trim_trailing_whitespaces = true
 indent_style = tab
+quote_type = single
+
+[*.js]
+quote_type = double
\ No newline at end of file
diff --git a/view/theme/frio/.eslintrc.json b/view/theme/frio/.eslintrc.json
new file mode 100644 (file)
index 0000000..54b698f
--- /dev/null
@@ -0,0 +1,8 @@
+{
+       "rules": {
+               "no-unused-vars": ["warn", { "args": "none", "argsIgnorePattern": "req|res|next|val" }],
+               "quotes": ["error", "double"],
+               "indent": ["error", "tab"],
+               "prettier/prettier": ["error"]
+       }
+}
diff --git a/view/theme/frio/.prettierrc b/view/theme/frio/.prettierrc
new file mode 100644 (file)
index 0000000..123ef3d
--- /dev/null
@@ -0,0 +1,12 @@
+{
+       "printWidth": 120,
+       "tabWidth": 4,
+       "useTabs": true,
+       "semi": true,
+       "singleQuote": false,
+       "quoteProps": "as-needed",
+       "trailingComma": "all",
+       "bracketSpacing": true,
+       "arrowParens": "always",
+       "endOfLine": "lf"
+}