I keep getting error "space indentation expected" while running ng lint. It is a quite amount of lines that having the same issue in my application. How can I solve this warning? Is anyone having face the similar issue ?
相关问题
- void before promise syntax
- React, Typescript, and a setState({ [name]: value
- Prettier in VS Code formatting (new lines before a
- TypeScript linter warning: no-unused-variable is d
- [tslint]Expected a 'for-of' loop instead o
相关文章
- TypeScript linter warning: no-unused-variable is d
- [tslint]Expected a 'for-of' loop instead o
- Vue Prop has no initializer and is not definitely
- Typescript : require statement not part of an impo
- how to set multiple CSS style properties in typesc
- TSLint get rid of missing-whitespace
- Angular2 - HTTP RequestOptions HEADERS
- Disable TSLint in VSCode
By default ng lint expects indentation to be 2 spaces. You can change these settings in your tslint.json.
If you want to use 4 spaces:
If you want to use tabs (4 spaces wide):
See this section of the docs for reference.