forked from engineering/cloudservices
More linting config fixes
parent
529147f925
commit
e872f08815
|
@ -1,4 +1,11 @@
|
|||
{
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"node": {
|
||||
"extensions": [".js", ".jsx", ".ts", ".tsx"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"env": {
|
||||
"es6": true,
|
||||
"node": true
|
||||
|
@ -19,6 +26,12 @@
|
|||
"@typescript-eslint"
|
||||
],
|
||||
"rules": {
|
||||
"linebreak-style": "off"
|
||||
"linebreak-style": "off",
|
||||
"no-unused-vars": "off",
|
||||
"max-len": "off",
|
||||
"import/no-dynamic-require": "off",
|
||||
"global-require": "off",
|
||||
"class-methods-use-this":"off",
|
||||
"no-restricted-syntax": "off"
|
||||
}
|
||||
}
|
|
@ -1,12 +1,14 @@
|
|||
/* eslint-disable no-console */
|
||||
|
||||
import Eris from 'eris';
|
||||
import mongoose from 'mongoose';
|
||||
import fs from 'fs-extra';
|
||||
import path from 'path';
|
||||
import config from './config.json';
|
||||
import Account, { AccountInterface } from './models/Account.js';
|
||||
import Moderation, { ModerationInterface } from './models/Moderation.js';
|
||||
import emojis from './stores/emojis.js';
|
||||
import Util from './Util.js';
|
||||
import Account, { AccountInterface } from './models/Account';
|
||||
import Moderation, { ModerationInterface } from './models/Moderation';
|
||||
import emojis from './stores/emojis';
|
||||
import Util from './Util';
|
||||
import Command from './class/Command';
|
||||
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ export default class Command {
|
|||
|
||||
guildOnly?: boolean
|
||||
|
||||
public run(message: Message, args: string[]) {}
|
||||
public run(message: Message, args: string[]) {} // eslint-disable-line
|
||||
|
||||
constructor(client: Client) {
|
||||
this.name = 'None';
|
||||
|
|
|
@ -1 +1 @@
|
|||
import { Message } from 'eris'
|
||||
import { Message } from 'eris';
|
||||
|
|
|
@ -10,6 +10,7 @@ export default class {
|
|||
constructor(client: Client) {
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
util: Util = new Util(this.client)
|
||||
|
||||
async run(message: Message) {
|
||||
|
|
Loading…
Reference in New Issue