Skip to content

Commit

Permalink
chore: Fix eslint to deal with path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Jul 10, 2017
1 parent 419691a commit 46ffbb8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/amo/sagas/categories.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
/* eslint-disable import/order */
import { hideLoading, showLoading } from 'react-redux-loading-bar';
import { call, put, select, takeEvery } from 'redux-saga/effects';
/* eslint-enable import/order */

import { getApi } from 'amo/sagas/utils';
import {
categoriesFail,
categoriesLoad,
} from 'core/actions/categories';
import { categories as categoriesApi } from 'core/api';
import { CATEGORIES_FETCH } from 'core/constants';
import log from 'core/logger';
import { getApi } from 'core/sagas/utils';


export function* fetchCategories() {
Expand Down
7 changes: 4 additions & 3 deletions src/amo/sagas/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* eslint-disable import/order */
import { fork } from 'redux-saga/effects';
/* eslint-enable import/order */

import categories from 'amo/sagas/categories';
import reviews from 'amo/sagas/reviews';
import addons from 'core/sagas/addons';

import categories from './categories';
import reviews from './reviews';


// Export all sagas for this app so runSaga can consume them.
export default function* rootSaga() {
Expand Down
4 changes: 3 additions & 1 deletion tests/unit/core/sagas/testUtils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable import/order */
import { takeEvery } from 'redux-saga';
import { put, select } from 'redux-saga/effects';
import SagaTester from 'redux-saga-tester';
import { put, select } from 'redux-saga/effects';
/* eslint-enable import/order */

import createStore from 'amo/store';
import { setClientApp, setLang } from 'core/actions';
Expand Down

0 comments on commit 46ffbb8

Please sign in to comment.