lbry-wunderbot/.eslintrc
filipnyquist 6a13432247 Started with adding plugins to the new wunderbot, as this is quite a big update this commit contains:
* Remade commands: price, rank, userinfo,hash,lbrylink, releasenotes, stats, supportbot.
* Added modlogs and settings for modlogs.
* Commands can now be locked to channels with the locktochannel module.
* customCommand/triggers can be saved in mongodb and edited on the fly, the bot will always use the latest messages.

This commit does not contain:
* A working claimbot, the new implantation with chainquery is on the way, this will be a seperate issue.
* A working webinterface, therefor, some items does not work, this will be a seperate issue.

This means that this code should remain in the wunderbot-v2 branch until a working webinterface where we can control the custom triggers/commands and other settings for the bot.
2018-07-18 15:41:00 +02:00

41 lines
1.1 KiB
Text

{
"parser": "babel-eslint",
"env": {
"node": true
},
"extends": ["airbnb-base", "prettier"],
"rules": {
"func-names": 0,
"max-len": [1, 240],
"no-unused-vars": 0,
"no-script-url": 0,
"no-unused-expressions":"off",
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"no-console": 0,
"no-undef": 0,
"import/prefer-default-export": 0,
"global-require": 0,
"comma-dangle": ["off"],
"import/extensions": 0,
"guard-for-in": ["warn"],
"no-restricted-syntax": ["off"],
"object-curly-spacing": ["off"],
"padded-blocks": ["off"],
"no-underscore-dangle": [
"error",
{
"allowAfterThis": true
}
],
"no-plusplus": 0,
"no-shadow": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"indent": ["error", 4],
"eol-last": [1, "always"]
},
"parserOptions": {
"ecmaVersion": 6
}
}