I've been learning about the importance of code checking tools and came across something called Codacy. One thing I'm confused about is the 'space indentation expected' issue with TSLint and TSLint4. Could this be related to my project using tabs for indentation? If so, how can I adjust this specific rule in Codacy?
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {RouterModule, Routes} from '@angular/router';
import {TranslationModule} from '../translate.module';
const adminRoutes: Routes = [
{
path: 'admin',
children: [
]
}
];
@NgModule({
imports: [
CommonModule, RouterModule.forRoot(adminRoutes), TranslationModule
],
declarations: [
],
exports: [
]
})
export class AdminModule { }
Codacy has pointed out an issue with the following:
{
path: 'admin',
children: [
]
}