wow-anti-afk
Version:
Script for keeping characters from going AFK in World of Warcraft.
34 lines (33 loc) • 1 kB
Plain Text
{
"parser": "@babel/eslint-parser",
"plugins": ["promise"],
"extends": ["airbnb-base", "plugin:promise/recommended", "prettier"],
"rules": {
"no-mixed-operators": [0],
"import/prefer-default-export": "off",
"import/no-default-export": ["error"],
"no-underscore-dangle": ["error", { "allow": ["__"] }],
"no-return-assign": ["error", "except-parens"],
"no-nested-ternary": [0],
"no-void": [0],
"max-lines": ["warn", 300],
"max-lines-per-function": ["warn", 200],
"complexity": ["warn", 10],
"max-nested-callbacks": ["warn", 3],
"max-depth": ["warn", 4],
"max-params": ["warn", 3],
"promise/always-return": [0],
"promise/catch-or-return": [0]
},
"overrides": [
{
"files": ["**/*.test.js", "**/*.itest.js", "**/*.stress-test.js"],
"env": { "jest/globals": true },
"plugins": ["jest"],
"extends": ["plugin:jest/all"],
"rules": {
"jest/max-expects": ["error", { "max": 30 }]
}
}
]
}