Skip to content
Snippets Groups Projects
Verified Commit 78d23ad3 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix lint errors

parent a6973cba
No related branches found
No related tags found
No related merge requests found
Pipeline #7374 passed
......@@ -11,6 +11,10 @@
"sourceType": "module"
},
"rules": {
"require-jsdoc": ["warn"]
"require-jsdoc": ["warn"],
"max-len": ["error", 100, 2, {
"ignoreUrls": true,
"ignoreStrings": true
}]
}
}
......@@ -19,7 +19,7 @@ import './game.css';
class Game extends Phaser.Game {
constructor(backend) {
let config = {
const config = {
title: 'Aug[m]entile',
url: 'https://edugit.org/auglement/augmentile',
backgroundColor: 0xffb175,
......@@ -28,7 +28,7 @@ class Game extends Phaser.Game {
height: window.innerHeight,
scale: {
mode: Phaser.Scale.FIT,
autoCenter: Phaser.Scale.CENTER_BOTH
autoCenter: Phaser.Scale.CENTER_BOTH,
},
scene: SplashScene,
};
......
......@@ -30,9 +30,9 @@ class SplashScene extends BaseScene {
}
create() {
let width = this.cameras.main.displayWidth;
let height = this.cameras.main.displayHeight;
let margin = 20;
const width = this.cameras.main.displayWidth;
const height = this.cameras.main.displayHeight;
const margin = 20;
this.logo = this.add.image(width / 2, margin, 'logo');
this.logo.setOrigin(0.5, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment