-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
This is stylistic rule. I often see import statements separated one from another using arbitrary rules, e.g.
import yargs from 'yargs';
import getStdin from 'get-stdin';
import {
lintFiles,
lintText
} from './../../utilities';
import {
failHandler,
getTargetPaths,
outputReport
} from './../../utilities/bin';
This rule would enforce no spacing between import statements, i.e.
import yargs from 'yargs';
import getStdin from 'get-stdin';
import {
lintFiles,
lintText
} from './../../utilities';
import {
failHandler,
getTargetPaths,
outputReport
} from './../../utilities/bin';
sindresorhus, jamesplease, alexander-akait, robrafo, gajus and 22 moreixpl0