mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
add frio formatting file
This commit is contained in:
parent
0668b2dfd5
commit
5167c2dc14
3 changed files with 24 additions and 0 deletions
|
@ -8,3 +8,7 @@ charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
trim_trailing_whitespaces = true
|
trim_trailing_whitespaces = true
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
quote_type = single
|
||||||
|
|
||||||
|
[*.js]
|
||||||
|
quote_type = double
|
8
view/theme/frio/.eslintrc.json
Normal file
8
view/theme/frio/.eslintrc.json
Normal file
|
@ -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"]
|
||||||
|
}
|
||||||
|
}
|
12
view/theme/frio/.prettierrc
Normal file
12
view/theme/frio/.prettierrc
Normal file
|
@ -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"
|
||||||
|
}
|
Loading…
Reference in a new issue