Skip to content

Commit

Permalink
ESLint: enable 'import/no-cycle' rule (#2381)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Jan 22, 2020
1 parent 4980779 commit ec46d38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ rules:
import/no-internal-modules: off
import/no-webpack-loader-syntax: error
import/no-self-import: error
import/no-cycle: off # TODO
import/no-cycle: error
import/no-useless-path-segments: error
import/no-relative-parent-imports: off

Expand Down
3 changes: 3 additions & 0 deletions src/type/definition.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// @flow strict

// FIXME
/* eslint-disable import/no-cycle */

import objectEntries from '../polyfills/objectEntries';
import { SYMBOL_TO_STRING_TAG } from '../polyfills/symbols';

Expand Down
3 changes: 3 additions & 0 deletions src/type/introspection.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// @flow strict

// FIXME
/* eslint-disable import/no-cycle */

import objectValues from '../polyfills/objectValues';

import inspect from '../jsutils/inspect';
Expand Down

0 comments on commit ec46d38

Please sign in to comment.