Turning off eslint rule for a specific file

This commit is contained in:
Peter Maquiran
2021-07-08 14:07:33 +01:00
parent a484d8a0ad
commit a9cfba3665
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/* eslint no-use-before-define: 0 */ // --> OFF /* eslint-disable */
///<reference path="../../../plugins/cordova-plugin-mfp/typings/worklight.d.ts" /> ///<reference path="../../../plugins/cordova-plugin-mfp/typings/worklight.d.ts" />
///<reference path="../../../plugins/cordova-plugin-mfp-push/typings/mfppush.d.ts" /> ///<reference path="../../../plugins/cordova-plugin-mfp-push/typings/mfppush.d.ts" />
import { Component, OnInit, NgZone, Inject } from '@angular/core'; import { Component, OnInit, NgZone, Inject } from '@angular/core';
@@ -209,7 +209,7 @@ export class ExpedientTaskModalPage implements OnInit {
}) })
} }
//
async saveTask(){ async saveTask(){
if(this.loggeduser.Profile == 'MDGPR') { if(this.loggeduser.Profile == 'MDGPR') {
+1 -1
View File
@@ -1,4 +1,4 @@
/* eslint no-use-before-define: 0 */ // --> OFF /* eslint-disable */
///<reference path="../../../plugins/cordova-plugin-mfp-push/typings/mfppush.d.ts" /> ///<reference path="../../../plugins/cordova-plugin-mfp-push/typings/mfppush.d.ts" />
import { Injectable, NgZone } from '@angular/core'; import { Injectable, NgZone } from '@angular/core';
import { ActivatedRoute } from '@angular/router' import { ActivatedRoute } from '@angular/router'