Skip to content

Commit e916560

Browse files
committed
feat: disable @angular-eslint/prefer-inject globally
1 parent 00f54ce commit e916560

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ module.exports = tseslint.config(
3232
'no-extra-boolean-cast': [
3333
'off'
3434
],
35+
'@angular-eslint/prefer-inject': [
36+
'off'
37+
],
3538
'@angular-eslint/component-selector': [
3639
'error',
3740
{

src/lib/components/ng-http-loader.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
88
*/
99

10-
/* eslint-disable @angular-eslint/prefer-inject */
1110
import { NgComponentOutlet, NgStyle } from '@angular/common';
1211
import { Component, input, model, OnInit, Signal, Type } from '@angular/core';
1312
import { merge, Observable, partition, timer } from 'rxjs';

src/lib/services/spinner-visibility.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
88
*/
99

10-
/* eslint-disable @angular-eslint/prefer-inject */
1110
import { Injectable } from '@angular/core';
1211
import { Observable, ReplaySubject } from 'rxjs';
1312
import { PendingRequestsInterceptorConfigurer } from "./pending-requests-interceptor-configurer.service";

0 commit comments

Comments
 (0)