style: fail the pipeline if tslint has errors (#11)
* style: fail the pipeline if tslint has errors * style: remove trailing whitespace
This commit is contained in:
Родитель
d0ad279706
Коммит
686e7186b9
|
@ -18,5 +18,11 @@ steps:
|
|||
- script: |
|
||||
npm install
|
||||
npm run tslint
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
npm run build
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
displayName: 'npm install and build'
|
||||
|
|
|
@ -84,7 +84,7 @@ export class AppSettingsForm extends React.Component<IAppSettingsFormProps, IApp
|
|||
onSubmit={(form) => this.props.onSubmit(form.formData)}>
|
||||
<div>
|
||||
<button
|
||||
type="submit"
|
||||
type="submit"
|
||||
className="btn32px btn-success mr-1">
|
||||
{strings.appSettings.save}
|
||||
</button>
|
||||
|
|
Загрузка…
Ссылка в новой задаче