mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2024-11-23 05:59:39 +00:00
Update eslint to include latest rules in jellyfin-web
This commit is contained in:
parent
243009879e
commit
3613cd6ee0
@ -34,8 +34,9 @@
|
||||
"rules": {
|
||||
"react/prop-types": ["error"],
|
||||
|
||||
"array-callback-return": ["error"],
|
||||
"block-spacing": ["error"],
|
||||
"brace-style": ["error"],
|
||||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
||||
"comma-dangle": ["error", "never"],
|
||||
"comma-spacing": ["error"],
|
||||
"eol-last": ["error"],
|
||||
@ -46,11 +47,15 @@
|
||||
"no-multi-spaces": ["error"],
|
||||
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
||||
"no-trailing-spaces": ["error"],
|
||||
"no-var": ["error"],
|
||||
"one-var": ["error", "never"],
|
||||
"padded-blocks": ["error", "never"],
|
||||
"prefer-const": ["error", { "destructuring": "all" }],
|
||||
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": false }],
|
||||
"semi": ["error"],
|
||||
"space-before-blocks": ["error"],
|
||||
"space-infix-ops": ["error"]
|
||||
"space-infix-ops": ["error"],
|
||||
"yoda": ["error"]
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user