mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
ee3d96eb53
* Updates eslint packages * Expected parentheses around arrow function argument having a body with curly braces * Prop type `object` is forbidden * Visible, non-interactive elements should not have mouse or keyboard event listeners * Prop type is defined but not used * Unexpected use of file extension "jsx" * Expected 'this' to be used by class method * HTML entities must be escaped * Prevent default behavior on more options button click
14 lines
335 B
JavaScript
14 lines
335 B
JavaScript
import { PropTypes } from 'react';
|
|
|
|
export default PropTypes.shape({
|
|
admin: PropTypes.bool,
|
|
email: PropTypes.string,
|
|
enabled: PropTypes.bool,
|
|
force_password_reset: PropTypes.bool,
|
|
gravatarURL: PropTypes.string,
|
|
id: PropTypes.number,
|
|
name: PropTypes.string,
|
|
position: PropTypes.string,
|
|
username: PropTypes.string,
|
|
});
|