Showing 4 of 14 total issues
File Schedule.js
has 320 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React, {Component} from 'react';
import {Text,View,TouchableHighlight,Alert} from 'react-native';
import {Agenda} from 'react-native-calendars';
import Modal from 'react-native-modal';
import axios from 'axios';
File styles.js
has 302 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import {PixelRatio} from 'react-native';
import {purple_dulce, black_dulce} from '../styles';
export const styles = {
absences: {
Schedule
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export default class Schedule extends Component {
constructor(props) {
super(props);
this.state = {
isDateTimePickerVisible: false,
Function _onPress
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_onPress() {
if (this.state.value.primeiroNome !== '' && this.state.value.segundoNome !== '' && this.state.value.email !== '') {
if (this.state.value.senha === this.state.value.confirmarSenha) {
const url = 'http://54.233.119.148:8083/api/user/create';
axios.post(url, {