Closed root9464 closed 5 months ago
This is a duplicate of #3744, why did you file it?
The react plugin does not touch import statements in this manner, so this is the wrong repo to be filing an issue on. Please do not file any additional issues here about this matter.
Is there an existing issue for this?
Description Overview
I use eslint v8.56.0 and when I press
ctrl+s
, the spaces in { } are removed by the formatter, and then returned back. Below I have attached a video with the problem and what exactly happened to me. But if you describe it in words, that is, the stringimport type {Metadata } from "next";
and after I press ctrl+s, the string is converted toimport type {Metadata} from "next";
and then back toimport type { Metadata} from "next";
and Linter complains again. I tried to disable spaces in the config file but it doesn't helpExpected Behavior
Video problem: https://disk.yandex.ru/i/V5W2pv8wQbq4Ng help me please
eslint-plugin-react version
eslint-plugin-react@7.34.1
eslint version
8.56.0
node version
v20.11.1