@shayanthenerd/eslint-config
Version:
A modern, flexible ESLint configuration for enforcing best practices and maintaining a consistent coding style
15 lines (14 loc) • 367 B
JavaScript
//#region src/rules/cypress.ts
function getCypressRules() {
const cypressRules = {
"cypress/no-force": "error",
"cypress/no-pause": "error",
"cypress/no-xpath": "error",
"cypress/no-async-tests": "off",
"cypress/no-chained-get": "error",
"cypress/assertion-before-screenshot": "error"
};
return cypressRules;
}
//#endregion
export { getCypressRules };