Skip to content

Commit a8ed0b8

Browse files
committed
Make _ usage clearer
1 parent 88ed8b6 commit a8ed0b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ function getEslintConfig({ react }: Config) {
243243
*/
244244
export async function lint(argv: string[], config: Config) {
245245
const {
246-
_,
246+
_: paths,
247247
"--check": check,
248248
"--filter-paths": filterPaths = false,
249249
} = arg(
@@ -254,7 +254,7 @@ export async function lint(argv: string[], config: Config) {
254254
{ argv }
255255
);
256256

257-
const eslintPaths = getEslintPaths(_, filterPaths, config);
257+
const eslintPaths = getEslintPaths(paths, filterPaths, config);
258258
await run(
259259
await PATHS.eslint,
260260
args(!check && "--fix", ["--config", getEslintConfig(config)], eslintPaths),

0 commit comments

Comments
 (0)