Which rule do I need to apply to enforce spaces between curly brackets in the import statements?
i.e
Instead of :
import {IPostService} from './api/IPostService';
I want:
import { IPostService } from './api/IPostService';
Which rule do I need to apply to enforce spaces between curly brackets in the import statements?
i.e
Instead of :
import {IPostService} from './api/IPostService';
I want:
import { IPostService } from './api/IPostService';
I think this might be what you're looking for:
"whitespace": [true, "check-module"]
check-module - checks for whitespace in import & export statements.
© 2022 - 2024 — McMap. All rights reserved.