This commit is contained in:
Armen Zambrano G 2019-08-21 16:14:05 -04:00 коммит произвёл Armen Zambrano
Родитель f7680516a4
Коммит 31990b982d
4 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -30,6 +30,7 @@ module.exports = {
'consistent-return': 'off',
'default-case': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/control-has-associated-label': 'off',
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
@ -42,6 +43,8 @@ module.exports = {
'no-underscore-dangle': 'off',
'prefer-promise-reject-errors': 'off',
'react/destructuring-assignment': 'off',
'react/jsx-fragments': 'off',
'react/jsx-props-no-spreading': 'off',
'react/forbid-prop-types': 'off',
'react/prop-types': 'off',
// Override AirBnB's config for this rule to make it more strict.

Просмотреть файл

@ -15,6 +15,7 @@ export default class AuthService {
_fetchUser(userSession) {
const loginUrl = getApiUrl('/auth/login/');
// eslint-disable-next-line no-async-promise-executor
return new Promise(async (resolve, reject) => {
const userResponse = await fetch(loginUrl, {
headers: {

Просмотреть файл

@ -180,7 +180,7 @@ async function fetchTests(store, fetchParams) {
Object.entries(testFailureLines).forEach(([testName, test]) => {
// Make a copy of the job that is just for this single testName because each test
// needs its own job copy that contains the failureLines for only that test.
const flJob = Object.assign({}, job);
const flJob = { ...job };
test.jobs = [flJob];
test.name = testName;
// set the failureLines of this test to this test's job

Просмотреть файл

@ -1,3 +1,4 @@
/* eslint-disable max-classes-per-file */
import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';