Skip to content

Commit 50ca173

Browse files
committed
chore: Fix eslint to deal with path bug
See: import-js/eslint-plugin-import#793
1 parent 419691a commit 50ca173

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

Diff for: src/amo/sagas/categories.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
// Disabled because of
2+
// https://github.com/benmosher/eslint-plugin-import/issues/793
3+
/* eslint-disable import/order */
14
import { hideLoading, showLoading } from 'react-redux-loading-bar';
25
import { call, put, select, takeEvery } from 'redux-saga/effects';
6+
/* eslint-enable import/order */
37

48
import {
59
categoriesFail,

Diff for: src/amo/sagas/index.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
// Disabled because of
2+
// https://github.com/benmosher/eslint-plugin-import/issues/793
3+
/* eslint-disable import/order */
14
import { fork } from 'redux-saga/effects';
5+
/* eslint-enable import/order */
26

7+
import categories from 'amo/sagas/categories';
8+
import reviews from 'amo/sagas/reviews';
39
import addons from 'core/sagas/addons';
410

5-
import categories from './categories';
6-
import reviews from './reviews';
7-
811

912
// Export all sagas for this app so runSaga can consume them.
1013
export default function* rootSaga() {

Diff for: tests/unit/core/sagas/testUtils.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
// Disabled because of
2+
// https://github.com/benmosher/eslint-plugin-import/issues/793
3+
/* eslint-disable import/order */
14
import { takeEvery } from 'redux-saga';
2-
import { put, select } from 'redux-saga/effects';
35
import SagaTester from 'redux-saga-tester';
6+
import { put, select } from 'redux-saga/effects';
7+
/* eslint-enable import/order */
48

59
import createStore from 'amo/store';
610
import { setClientApp, setLang } from 'core/actions';

0 commit comments

Comments
 (0)