This repository was archived by the owner on May 1, 2020. It is now read-only.
Description Short description of the problem:
After upgrade to Ionic 3, tslint shows errors even for external typescript libraries inside the node_modules folder.
What behavior are you expecting?
tslint should lint files under src folder only.
Steps to reproduce:
create an empty ionic project
$ ionic start demo-app blank
install a dependency which includes the typescript files (e.g. ng2-dynamic-forms/core)
$ npm install @ng2-dynamic-forms/core
import the module into the app module (modify the app.module.ts as follows):
...
import { DynamicFormsCoreModule } from '@ng2-dynamic-forms/core';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
DynamicFormsCoreModule.forRoot(),
IonicModule.forRoot(MyApp)
],
...
run the linter
Which @ionic/app-scripts version are you using?
2.1.4
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
related issues: #482 & #161
Reactions are currently unavailable
Short description of the problem:
After upgrade to Ionic 3, tslint shows errors even for external typescript libraries inside the
node_modulesfolder.What behavior are you expecting?
tslint should lint files under
srcfolder only.Steps to reproduce:
create an empty ionic project
install a dependency which includes the typescript files (e.g. ng2-dynamic-forms/core)
import the module into the app module (modify the
app.module.tsas follows):run the linter
Which @ionic/app-scripts version are you using?
2.1.4
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
related issues: #482 & #161