fleet/frontend/interfaces/host.js
Mike Stone ee3d96eb53 Update eslint (#337)
* 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
2016-10-21 19:13:41 -04:00

18 lines
456 B
JavaScript

import { PropTypes } from 'react';
export default PropTypes.shape({
detail_updated_at: PropTypes.string,
hostname: PropTypes.string,
id: PropTypes.number,
ip: PropTypes.string,
mac: PropTypes.string,
memory: PropTypes.number,
os_version: PropTypes.string,
osquery_version: PropTypes.string,
platform: PropTypes.string,
status: PropTypes.string,
updated_at: PropTypes.string,
uptime: PropTypes.number,
uuid: PropTypes.string,
});