mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-08-17 04:10:45 +03:00
build: 🚨 disable linting where we cannot do anyshing in the short term
This commit is contained in:
parent
0f43507bcb
commit
9710c664ae
@ -29,6 +29,7 @@
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"warn",
|
||||
{
|
||||
"varsIgnorePattern": "^_",
|
||||
"argsIgnorePattern": "^_"
|
||||
}
|
||||
],
|
||||
|
@ -36,6 +36,7 @@ export default class KWinMousePoller {
|
||||
this.qml.mousePoller.interval = 0;
|
||||
|
||||
this.qml.mousePoller.onNewData.connect((sourceName: string, data: any) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
||||
this.cmdResult = data["exit code"] === 0 ? data["stdout"] : null;
|
||||
this.qml.mousePoller.disconnectSource(KWinMousePoller.COMMAND);
|
||||
|
||||
|
2
src/extern/global.d.ts
vendored
2
src/extern/global.d.ts
vendored
@ -3,6 +3,8 @@
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
|
||||
declare namespace Bismuth {
|
||||
export namespace Qml {
|
||||
export interface Main {
|
||||
|
2
src/extern/plasma.d.ts
vendored
2
src/extern/plasma.d.ts
vendored
@ -3,6 +3,8 @@
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
|
||||
declare namespace Plasma {
|
||||
namespace TaskManager {
|
||||
/* reference: https://github.com/KDE/plasma-workspace/blob/master/libtaskmanager/activityinfo.h */
|
||||
|
2
src/extern/qt.d.ts
vendored
2
src/extern/qt.d.ts
vendored
@ -3,6 +3,8 @@
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
interface QByteArray {
|
||||
/* keep it empty for now */
|
||||
|
@ -2,6 +2,8 @@
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
|
||||
/**
|
||||
* @module
|
||||
* This module basically reimplements standard JS setTimeout function
|
||||
@ -72,6 +74,7 @@ export class TimersPool {
|
||||
]);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
const timer: QQmlTimer =
|
||||
this.timers.pop() ||
|
||||
Qt.createQmlObject("import QtQuick 2.0; Timer {}", this.scriptRoot);
|
||||
|
Loading…
Reference in New Issue
Block a user