@addon24/eslint-config
Version:
ESLint configuration rules for WorldOfTextcraft projects - Centralized configuration for all project types
18 lines (17 loc) • 547 B
JavaScript
export default {
rules: {
"no-console": ["error", {
allow: ["warn", "error", "info"],
}],
"prefer-promise-reject-errors": ["error", { allowEmptyReject: false }],
"require-await": "error",
"no-return-await": "error",
"no-async-promise-executor": "error",
"no-await-in-loop": "error",
"no-promise-executor-return": "error",
"prefer-object-has-own": "error",
"logical-assignment-operators": ["error", "always"],
"no-unreachable-loop": "error",
"no-constant-binary-expression": "error",
},
};