Skip to content

Commit cd5c32c

Browse files
committed
fix(lint): fixes import order lint warnings
I can't reproduce these warnings locally, but these appear to be failing on CI. This is a speculative fix. I also noticed that eslint-import-resolver-node updated today but has a breaking change that breaks node v6 compatibility. I'm adding this to devDependencies to pin this to the last non-broken version.
1 parent 05db932 commit cd5c32c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"babel-register": "^6.7.2",
5757
"concurrently": "^5.3.0",
5858
"eslint": "^5.16.0",
59+
"eslint-import-resolver-node": "0.3.7",
5960
"eslint-config-airbnb-base": "^14.2.1",
6061
"eslint-plugin-import": "^2.26.0",
6162
"js-yaml": "^3.12.0",

src/shx.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import shell from 'shelljs';
2-
import minimist from 'minimist';
31
import path from 'path';
42
import fs from 'fs';
3+
import shell from 'shelljs';
4+
import minimist from 'minimist';
55
import help from './help';
66
import { CMD_BLOCKLIST, EXIT_CODES, CONFIG_FILE } from './config';
77
import { printCmdRet } from './printCmdRet';

test/specs/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import * as shell from 'shelljs';
21
import fs from 'fs';
32
import path from 'path';
3+
import * as shell from 'shelljs';
44
import { shx } from '../../src/shx';
55
import { EXIT_CODES, CONFIG_FILE, shouldReadStdin } from '../../src/config';
66
import * as mocks from '../mocks';

0 commit comments

Comments
 (0)