This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
Merge pull request
#9845
from Extarys/frio-eslint-prettier
Add eslint, prettier config files to Frio folder
pull/9849/head
Hypolite Petovan
1 month ago
committed by
GitHub
parent
215c6ecc14
5167c2dc14
commit
1193b73125
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
3 changed files
with
24 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
.editorconfig
+8
-0
view/theme/frio/.eslintrc.json
+12
-0
view/theme/frio/.prettierrc
+ 4
- 0
.editorconfig
View 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
+ 8
- 0
view/theme/frio/.eslintrc.json
View 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
- 0
view/theme/frio/.prettierrc
View 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"
}
Write
Preview
Loading…
Cancel
Save