Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
justinanastos committed Jul 13, 2018
0 parents commit ea3550d
Show file tree
Hide file tree
Showing 6 changed files with 1,607 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parser": "typescript-eslint-parser",
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"allowImportExportEverywhere": true,
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"import"
],
"rules": {
"import/order": [
"error",
{
"newlines-between": "never",
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
]
}
]
}
}

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.vscode
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Purpose

Reproduce issue [benmosher/eslint-plugin-import#1086](https://github.com/benmosher/eslint-plugin-import/issues/1086)

# Running

* Install dependencies

```
npm install
```

* Run eslint

```
npm start
```

This will pass because it's only running the test, not trying or fix it.

* Reproduce issue

```
npm start -- --fix
```

This will run until it runs out of memory. This demonstrates the issue in [benmosher/eslint-plugin-import#1086](https://github.com/benmosher/eslint-plugin-import/issues/1086).
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import * as React from 'react';
import something from './TypographyVariant';
import * as PropTypes from 'prop-types';
Loading

0 comments on commit ea3550d

Please sign in to comment.