How to get rid of errors like that while Linting

when I yarn build a plugin, it always gives me some errors like that, for example, wants me to delete some needless space.

Are you looking to disable the linter temporarily?

If you feel that the linter rule is wrong/unnecessary, please feel free to open an issue on GitHub.

How to set linter analysis about the development of grafana plugin in IDE. Does it need tslint.json?

You can install prettier and set it up to automatically format your code on save in your editor.