Valentin Popov 6cef3fc844 Added some react rules
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 11:53:24 +04:00

2.4 KiB

React

  • "boolean-prop-naming"
  • "button-has-type"
  • "default-props-match-prop-types"
  • "destructuring-assignment"
  • "display-name"
  • "forbid-component-props"
  • "forbid-dom-props"
  • "forbid-elements"
  • "forbid-foreign-prop-types"
  • "forbid-prop-types"
  • "function-component-definition"
  • "jsx-boolean-value"
  • "jsx-child-element-spacing"
  • "jsx-closing-bracket-location"
  • "jsx-closing-tag-location"
  • "jsx-curly-brace-presence"
  • "jsx-curly-newline"
  • "jsx-curly-spacing"
  • "jsx-equals-spacing"
  • "jsx-filename-extension"
  • "jsx-first-prop-new-line"
  • "jsx-fragments"
  • "jsx-handler-names"
  • "jsx-indent"
  • "jsx-indent-props"
  • "jsx-key"
  • "jsx-max-depth"
  • "jsx-max-props-per-line"
  • "jsx-no-bind"
  • "jsx-no-comment-textnodes"
  • "jsx-no-duplicate-props"
  • "jsx-no-literals"
  • "jsx-no-script-url"
  • "jsx-no-target-blank"
  • "jsx-no-undef"
  • "jsx-no-useless-fragment"
  • "jsx-one-expression-per-line"
  • "jsx-pascal-case"
  • "jsx-props-no-multi-spaces"
  • "jsx-props-no-spreading"
  • "jsx-sort-default-props"
  • "jsx-sort-props"
  • "jsx-space-before-closing"
  • "jsx-tag-spacing"
  • "jsx-uses-react"
  • "jsx-uses-vars"
  • "jsx-wrap-multilines"
  • "no-access-state-in-setstate"
  • "no-adjacent-inline-elements"
  • "no-array-index-key"
  • "no-children-prop"
  • "no-danger"
  • "no-danger-with-children"
  • "no-deprecated"
  • "no-did-mount-set-state"
  • "no-did-update-set-state"
  • "no-direct-mutation-state"
  • "no-find-dom-node"
  • "no-is-mounted"
  • "no-multi-comp"
  • "no-redundant-should-component-update"
  • "no-render-return-value"
  • "no-set-state"
  • "no-string-refs"
  • "no-this-in-sfc"
  • "no-typos"
  • "no-unescaped-entities"
  • "no-unknown-property"
  • "no-unsafe"
  • "no-unused-prop-types"
  • "no-unused-state"
  • "no-will-update-set-state"
  • "prefer-es6-class"
  • "prefer-read-only-props"
  • "prefer-stateless-function"
  • "prop-types"
  • "react-in-jsx-scope"
  • "require-default-props"
  • "require-optimization"
  • "require-render-return"
  • "self-closing-comp"
  • "sort-comp"
  • "sort-prop-types"
  • "state-in-constructor"
  • "static-property-placement"
  • "style-prop-object"
  • "void-dom-elements-no-children"