src/renderer/ui/components/modals/AlarmModal.js
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const actions = [
<FlatButton
label={TranslationProvider.query('button-text-cancel-alarm')}
onTouchTap={this.cancel}
Absolute imports should come before relative imports. Open
Open
import FlatButton from 'material-ui/FlatButton';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Absolute imports should come before relative imports. Open
Open
import TimePicker from 'material-ui/TimePicker';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
propType "alarm" is not required, but has no corresponding defaultProp declaration. Open
Open
alarm: PropTypes.oneOfType([
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
JSX not allowed in files with extension '.js' Open
Open
<FlatButton
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Absolute imports should come before relative imports. Open
Open
import { green500, green700 } from 'material-ui/styles/colors';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/