@shayanthenerd/eslint-config
Version:
A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style
19 lines (18 loc) • 512 B
JavaScript
//#region src/rules/cypress.ts
const cypressRules = {
"cypress/no-and": "warn",
"cypress/no-assigning-return-values": "error",
"cypress/no-async-before": "warn",
"cypress/no-async-tests": "error",
"cypress/no-chained-get": "error",
"cypress/no-debug": "error",
"cypress/no-force": "error",
"cypress/no-pause": "error",
"cypress/no-unnecessary-waiting": "error",
"cypress/unsafe-to-chain-command": "error"
};
function getCypressRules() {
return cypressRules;
}
//#endregion
export { getCypressRules };