disable es-lint for now

This commit is contained in:
2022-07-19 12:33:22 +00:00
parent 6e97d11f43
commit 6eb2d78f8c
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
/* eslint-disable @typescript-eslint/naming-convention */
/* eslint-disable @typescript-eslint/no-unused-expressions */
/* eslint-disable space-before-function-paren */
/* eslint-disable prefer-const */
/* eslint-disable @typescript-eslint/quotes */
/* eslint-disable @typescript-eslint/member-ordering */
import * as tf from "@tensorflow/tfjs";
export class AiService {
@@ -140,5 +146,4 @@ async trainModel (model, stackedX, stackedY) {
return model;
};
}

View File

@@ -1,4 +1,7 @@
/* eslint-disable @typescript-eslint/prefer-for-of */
/* eslint-disable @typescript-eslint/member-ordering */
import { Component, OnInit } from '@angular/core';
import { AiService } from '../ai.service';
@Component({
selector: 'app-board',
@@ -12,7 +15,7 @@ export class BoardComponent implements OnInit {
fields: any[];
history: any[];
constructor() {}
constructor(ai: AiService) {}
ngOnInit(): void {
this.resetGame();