mirror of
https://github.com/jellyfin/jellyfin-expo.git
synced 2025-03-03 19:47:34 +00:00
Add eslint rules from jellyfin-web
This commit is contained in:
parent
93b9c867ab
commit
bcc0b249e9
@ -28,6 +28,22 @@
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"react/prop-types": ["error", { "ignore": ["navigation"] }]
|
||||
"react/prop-types": ["error", { "ignore": ["navigation"] }],
|
||||
|
||||
"block-spacing": ["error"],
|
||||
"brace-style": ["error"],
|
||||
"comma-dangle": ["error", "never"],
|
||||
"comma-spacing": ["error"],
|
||||
"eol-last": ["error"],
|
||||
"indent": ["error", 4, { "SwitchCase": 1 }],
|
||||
"keyword-spacing": ["error"],
|
||||
"max-statements-per-line": ["error"],
|
||||
"no-floating-decimal": ["error"],
|
||||
"no-multi-spaces": ["error"],
|
||||
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
||||
"no-trailing-spaces": ["error"],
|
||||
"one-var": ["error", "never"],
|
||||
"semi": ["error"],
|
||||
"space-before-blocks": ["error"]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user