import {NgModule} from '@angular/core'
import {AppComponent} from './app.component'
import {CommonModuleCustom} from './modules/common.module'
import {ElectronService} from './providers/electron.service'
import {LayoutComponent} from './components/layout/layout.component'
with tslint.json configuration:
ordered-imports:
- true
- grouped-imports: false
import-sources-order: case-insensitive
named-imports-order: case-insensitive
module-source-path: full
# From tslint-eslint-rules
object-curly-spacing:
- true
- always
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
Expected behavior
Reproduce
You can reproduce from this repository: https://github.com/liuweiGL/prettier-tslint-bug-reproduce
PS
I think the
apply-fixes.js
has some problems,the tslint‘sapplyTSLintAllFixes
function will updateProgram
, but you don't.Refrence from https://github.com/palantir/tslint/pull/2864