import-js/eslint-plugin-import

Differences between eslint CLI and vscode linting

Open

#3,180 创建于 2025年4月22日

在 GitHub 查看
 (11 评论) (0 反应) (0 负责人)JavaScript (4,946 star) (1,540 fork)batch import
help wanted

描述

Hello!

I've upgraded to eslint@9 in my project and have some issues with linting.

Linting of import/order errors is different in CLI/vscode.

What i'm getting in vscode:

Image

what i have in terminal:

Image

Maybe it's caused by several eslint configs or aliases, but i think i'm using all needed settings for this.

I've made repo with reproduction of this problem: https://github.com/chelentos/vscode-eslint-repr

There are vscode settings in README.

Configs for eslint you can find here: https://github.com/gravity-ui/eslint-config Import/order config: https://github.com/gravity-ui/eslint-config/blob/main/import-order.js

I've already created issue in vscode plugin repo, but maybe you can help me too.

贡献者指南

Differences between eslint CLI and vscode linting · import-js/eslint-plugin-import#3180 | Good First Issue