Skip to content

Commit

Permalink
style(eslint): add newlines-between option to import/order rule
Browse files Browse the repository at this point in the history
+ fix errors according to this new eslint rules (in 5 tests files)

Closes #377
  • Loading branch information
guillaumearm authored and char0n committed Feb 19, 2018
1 parent 7b60189 commit 2f5173a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
"no-underscore-dangle": 0,
"no-confusing-arrow": "off",
"object-curly-newline": "off",
"import/order": ["error", {
"groups": [
["builtin", "external", "internal"],
["parent", "sibling", "index"]
],
"newlines-between": "always"
}],
"ramda/always-simplification": ["error"],
"ramda/compose-simplification": ["error"],
"ramda/eq-by-simplification": ["error"],
Expand Down
1 change: 1 addition & 0 deletions test/isBoolean.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as R from 'ramda';

import * as RA from '../src/index';
import eq from './shared/eq';
import Symbol from './shared/Symbol';
Expand Down
1 change: 1 addition & 0 deletions test/isNotBoolean.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as R from 'ramda';

import * as RA from '../src/index';
import eq from './shared/eq';
import Symbol from './shared/Symbol';
Expand Down
1 change: 1 addition & 0 deletions test/seq.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as R from 'ramda';

import * as RA from '../src/index';
import eq from './shared/eq';

Expand Down
1 change: 1 addition & 0 deletions test/stubArray.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import assert from 'assert';

import * as RA from '../src/index';
import eq from './shared/eq';

Expand Down
1 change: 1 addition & 0 deletions test/stubObj.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import assert from 'assert';

import * as RA from '../src/index';
import eq from './shared/eq';

Expand Down

0 comments on commit 2f5173a

Please sign in to comment.