Skip to content

Commit

Permalink
fix(lint): fixes import order lint warnings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nfischer committed Aug 5, 2023
1 parent 05db932 commit cd5c32c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"babel-register": "^6.7.2",
"concurrently": "^5.3.0",
"eslint": "^5.16.0",
"eslint-import-resolver-node": "0.3.7",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.26.0",
"js-yaml": "^3.12.0",
Expand Down
4 changes: 2 additions & 2 deletions src/shx.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import shell from 'shelljs';
import minimist from 'minimist';
import path from 'path';
import fs from 'fs';
import shell from 'shelljs';
import minimist from 'minimist';
import help from './help';
import { CMD_BLOCKLIST, EXIT_CODES, CONFIG_FILE } from './config';
import { printCmdRet } from './printCmdRet';
Expand Down
2 changes: 1 addition & 1 deletion test/specs/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as shell from 'shelljs';
import fs from 'fs';
import path from 'path';
import * as shell from 'shelljs';
import { shx } from '../../src/shx';
import { EXIT_CODES, CONFIG_FILE, shouldReadStdin } from '../../src/config';
import * as mocks from '../mocks';
Expand Down

0 comments on commit cd5c32c

Please sign in to comment.