mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Merge pull request +12231 from c9/linter
Linter
This commit is contained in:
commit
4721582566
@ -54,30 +54,23 @@ rules:
|
||||
no-did-update-set-state: 1
|
||||
no-direct-mutation-state: 1
|
||||
no-is-mounted: 1
|
||||
no-multi-comp: 1
|
||||
no-set-state: 1
|
||||
no-string-refs: 1
|
||||
no-unknown-property: 1
|
||||
prefer-es6-class: [1, "never"]
|
||||
prop-types: 1
|
||||
react-in-jsx-scope: 1
|
||||
require-extension: [1, { extensions: [".js", ".jsx"] }]
|
||||
self-closing-comp: 1
|
||||
sort-comp: 1
|
||||
wrap-multilines: 1
|
||||
jsx-boolean-value: [1, "always"]
|
||||
jsx-equals-spacing: 1
|
||||
jsx-handler-names: 1
|
||||
jsx-indent-props: 1
|
||||
jsx-key: 1
|
||||
jsx-indent: 1
|
||||
jsx-max-props-per-line: [1, { maximum: 3 }]
|
||||
jsx-max-props-per-line: [1, { maximum: 5 }]
|
||||
jsx-no-bind: 1
|
||||
jsx-no-duplicate-props: 1
|
||||
jsx-no-literals: 1
|
||||
jsx-no-undef: 1
|
||||
jsx-pascal-case: 1
|
||||
jsx-sort-props: 1
|
||||
jsx-uses-react: 1
|
||||
|
||||
default-case: 3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user