From 0bcf6b94f327541e0d67dba9c5d156d09e3a0113 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Tue, 20 Jun 2017 08:53:50 -0600 Subject: [PATCH] Fixed lint issues + cross platform lint command --- app/script/components/DeviceView.tsx | 2 +- app/script/components/ProgramTable.tsx | 2 +- app/script/components/RunSectionForm.tsx | 2 +- app/script/components/SectionTable.tsx | 2 +- app/script/components/index.ts | 2 +- package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/script/components/DeviceView.tsx b/app/script/components/DeviceView.tsx index a40aa15..ded3f76 100644 --- a/app/script/components/DeviceView.tsx +++ b/app/script/components/DeviceView.tsx @@ -40,4 +40,4 @@ export default class DeviceView extends React.PureComponent<{ device: Sprinklers ); } -} \ No newline at end of file +} diff --git a/app/script/components/ProgramTable.tsx b/app/script/components/ProgramTable.tsx index ca38080..f513c86 100644 --- a/app/script/components/ProgramTable.tsx +++ b/app/script/components/ProgramTable.tsx @@ -63,4 +63,4 @@ export default class ProgramTable extends React.PureComponent<{ programs: Progra ); } -} \ No newline at end of file +} diff --git a/app/script/components/RunSectionForm.tsx b/app/script/components/RunSectionForm.tsx index 59e8a7f..8b69b6e 100644 --- a/app/script/components/RunSectionForm.tsx +++ b/app/script/components/RunSectionForm.tsx @@ -65,4 +65,4 @@ export default class RunSectionForm extends React.Component<{ value: i, })); } -} \ No newline at end of file +} diff --git a/app/script/components/SectionTable.tsx b/app/script/components/SectionTable.tsx index d7d762b..9a9c468 100644 --- a/app/script/components/SectionTable.tsx +++ b/app/script/components/SectionTable.tsx @@ -51,4 +51,4 @@ export default class SectionTable extends React.PureComponent<{ sections: Sectio ); } -} \ No newline at end of file +} diff --git a/app/script/components/index.ts b/app/script/components/index.ts index 1476b6b..a081822 100644 --- a/app/script/components/index.ts +++ b/app/script/components/index.ts @@ -4,4 +4,4 @@ export {default as DurationInput} from "./DurationInput"; export {default as MessagesView} from "./MessagesView"; export {default as ProgramTable} from "./ProgramTable"; export {default as RunSectionForm} from "./RunSectionForm"; -export {default as SectionTable} from "./SectionTable"; \ No newline at end of file +export {default as SectionTable} from "./SectionTable"; diff --git a/package.json b/package.json index a95d56c..1771223 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "clean": "rm -rf ./dist ./build", "build": "webpack --config ./webpack/prod.config.js", "start": "webpack-dev-server --config ./webpack/dev.config.js", - "lint": "tslint app/script/**/* || :" + "lint": "tslint app/script/**/* --force" }, "repository": { "type": "git",