私は、angle2 webpackスターターにtslintを設定して使用しています。TSLINT config:外部モジュールを除外します
また、ngx-datables(directory_swimlaneをnode_modulesで直接使用)も使用します。 、私のconfigsがよく行われるようになっているが
@ ./~/@swimlane/ngx-datatable/src/utils/index.ts 14:0-32
@ ./~/@swimlane/ngx-datatable/src/components/datatable.component.ts
@ ./~/@swimlane/ngx-datatable/src/components/index.ts
@ ./~/@swimlane/ngx-datatable/src/index.ts
@ ./src/app/adherent/list/adherent-list.component.ts
@ ./src/app/adherent/list/index.ts
@ ./src/app/adherent/index.ts
@ ./src/app/app.module.ts
@ ./src/app/index.ts
@ ./src/main.browser.ts
@ multi (webpack)-dev-server/client?http://localhost:3000 ./src/main.browser.ts
:
私のような警告がたくさんある
tsconfig.json:
...
"exclude": [
"node_modules",
"dist"
],
...
tsconfig.webpack.json:
...
"exclude": [
"node_modules",
"dist",
"src/**/*.spec.ts",
"src/**/*.e2e.ts"
],
...
tslint.json:
...
"exclude": [
"node_modules"
],
...
は私も"**/node_modules/**"
で試してみました。しかし、何も変わっていない、私はまだ警告があります。私はWebPACKのと同じangular2-スターターを使用してい
"exclude": [
"node_modules/**"
],
...
これは、元のものよりも奇妙に優れていました。/ node_modules/ ありがとうございました! – Callehabana
@Callehabanaはこれを回答として受け入れる – Aravind
それは私のために働いていない –