{"_id":"@finsit/eslint-plugin-cypress","_rev":"3-bb124db263f9f36f3e5c0bf772240750","name":"@finsit/eslint-plugin-cypress","dist-tags":{"latest":"3.1.1"},"versions":{"3.0.1":{"name":"@finsit/eslint-plugin-cypress","version":"3.0.1","description":"An ESLint plugin for projects using Cypress","main":"index.js","author":{"name":"Chris Breiding","url":"chris@cypress.io"},"license":"MIT","keywords":["eslint","eslintplugin","cypress"],"repository":{"type":"git","url":"git+https://github.com/foretagsplatsen/eslint-plugin-cypress.git"},"bugs":{"url":"https://github.com/foretagsplatsen/eslint-plugin-cypress/issues"},"homepage":"https://github.com/foretagsplatsen/eslint-plugin-cypress#readme","peerDependencies":{"eslint":">= 7.0.0"},"dependencies":{"globals":"^13.15.0"},"devDependencies":{"eslint":"^8.18.0","eslint-plugin-promise":"^6.0.0","generator-eslint":"^3.0.1","jest":"^28.1.1","semantic-release":"19.0.3"},"scripts":{"make-rule":"npx yo eslint:rule","lint":"eslint '*.js' '**/**/*.js'","lint-fix":"npm run lint -- --fix","semantic-release":"semantic-release","start":"npm run test-watch","test":"jest","test:v7":"npm i eslint@7.x && npm run test","test-watch":"jest --watchAll"},"jest":{"testMatch":["**/tests/**/*.js"]},"gitHead":"cf9e68743f501f591284e9fc1ff65d8461c4419c","_id":"@finsit/eslint-plugin-cypress@3.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-1KYTBuJkr93oNz828vMDN3mAOwUXL7Ov+9mKKaZ1ZhZNYAB8Yn/65vlSuX0bccHEKqOvPx62JLS8XWIOtHOgKg==","shasum":"7a60114a883c29999891063677b34935e94df7a3","tarball":"https://registry.npmjs.org/@finsit/eslint-plugin-cypress/-/eslint-plugin-cypress-3.0.1.tgz","fileCount":33,"unpackedSize":46441,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7c6BBz7/1cdjg6J2fNioTBbacAyMT/EsNKgC/oNPHCAiBM4WWUkmYPCBqZ6i4+TPURzokQhLi2VA81CT+yB3OZbA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuqYyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZKQ//eCYh0TDupj1u+AyktBEAUeNQy1Qcn1NxPZFVvbzW36qacGyh\r\n3VqQT8llyktCw4BBtXw3xkPINi2POxxHgmWJbvLAYgoylNbk/G6xKSOi/950\r\nK1ty0UvCn9znApTJbpWucSCL2XR0T0q+m/TVEMRH0TCSeH2db0Y1ywR+zYtv\r\nkaUlNd+7LaEs3lOhekS0t+D3neT0brouaZ1hPms8cRB+Gk3+ma5xgce4oyAr\r\no9MCspZrWHa2Beg0t69k9hIpHt8HJ3m7MXzMDcdorRoi9di+t63AuvsBF4FA\r\nOUG2CAaBjtEa2Y/mRXqxBRP+ZPO9XSDlrzkxrebu+ggjU7hOwIP4UCm4UIph\r\nw9zrhLCzOzogVemlO6NgTYjeL+1ESkExqT26HcbLKWw1YwsSLO8Pfl0lqeR8\r\nXCjhSIf/QA+Y02cga7+GQdIWAJ1Oc9Svky8W5oDr1Myt9mP2Zul8A7eSaUN5\r\ncfmBlWyaEgG1BHPzQb81AltItcqCLxdX6aH58lDESfZGnLpwXXDVsdU6+fdb\r\nfZIvFjpxY8N4ZrZbJUuPCPQHtD1K3ParWZdtwqACX9UUVUE+Oj7bKsC1m2A8\r\n4tg4X0bss6g7RA/kILCGyW2CH13ooAnX5AHcxpf3op7VSz2OorzjJJTpXp4a\r\n4TdtqrHHb/evLGMy9ric613DD29VdESr6/I=\r\n=ekDv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"damiencassou","email":"damien@cassou.me"},"directories":{},"maintainers":[{"name":"johan_degerfeldt","email":"johan.degerfeldt@wolterskluwer.com"},{"name":"nicolaspetton","email":"petton.nicolas@gmail.com"},{"name":"benjamin-vanryseghem","email":"benjamin.vanryseghem@gmail.com"},{"name":"damiencassou","email":"damien@cassou.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-cypress_3.0.1_1656399410355_0.3261042390847908"},"_hasShrinkwrap":false},"3.0.2":{"name":"@finsit/eslint-plugin-cypress","version":"3.0.2","description":"An ESLint plugin for projects using Cypress","main":"index.js","author":{"name":"Chris Breiding","url":"chris@cypress.io"},"license":"MIT","keywords":["eslint","eslintplugin","cypress"],"repository":{"type":"git","url":"git+https://github.com/foretagsplatsen/eslint-plugin-cypress.git"},"bugs":{"url":"https://github.com/foretagsplatsen/eslint-plugin-cypress/issues"},"homepage":"https://github.com/foretagsplatsen/eslint-plugin-cypress#readme","peerDependencies":{"eslint":">= 7.0.0"},"dependencies":{"globals":"^13.15.0"},"devDependencies":{"eslint":"^8.18.0","eslint-plugin-promise":"^6.0.0","generator-eslint":"^3.0.1","jest":"^28.1.1","semantic-release":"19.0.3"},"scripts":{"publish":"npm publish --access public","make-rule":"npx yo eslint:rule","lint":"eslint '*.js' '**/**/*.js'","lint-fix":"npm run lint -- --fix","semantic-release":"semantic-release","start":"npm run test-watch","test":"jest","test:v7":"npm i eslint@7.x && npm run test","test-watch":"jest --watchAll"},"jest":{"testMatch":["**/tests/**/*.js"]},"gitHead":"0e648e6fca442f87870ce5254b1d2eb4c46975a2","_id":"@finsit/eslint-plugin-cypress@3.0.2","_nodeVersion":"16.15.0","_npmVersion":"8.13.1","dist":{"integrity":"sha512-rSldEWxBvufQq2CfPQYidlp3aYMEiGK3PPLHhhpA7amcxRGue78UoszV5o3vfj8on32TyFeRypFzT56XIHqCfQ==","shasum":"99f517d0eb91e6798135b6d3106e59b65f6e9c2c","tarball":"https://registry.npmjs.org/@finsit/eslint-plugin-cypress/-/eslint-plugin-cypress-3.0.2.tgz","fileCount":33,"unpackedSize":46527,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+iBEgjDai4/XA+/6zISwuKWuckyd3KWKxhgqC6s2ynAiBcZKm5RPAJFcs0vPpcNmhY3CpHvkXLAHurD2LSXdjYtA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiurB/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTKg//exXSv7TpWmkUSzOAPVoqBcBcOGCAC/aZyRAt+t8zc0P0f0eg\r\n7oziem6HDH5XGifL3r+uh0kqkb51aX343YNV7Vf8dPBKPK/V07OMqHTHbV11\r\njIspubmi8AKN3K2KtIXMGOSsYGCaCgKD9ySXk+c/0GHNFH7PKALhYfnBMl0E\r\nQqy4pU0a6z0zFhqzb+++DYawF0JSyUKGftvwx/GSxbEH2XgezdZZexxseCw3\r\n1QqpGe8jdF4eriZbgRGwWLzhO8aUbXKMrlVRm6IUz0EPfyWVESkabU6CUyOP\r\nyCWGU7aDDwc3+EdVsa3CAeg13kuUOYS15sYR5moL+HJHphCybujaNeP/lbt9\r\n4qchQepjPpRlwAGwRMT8q85MxVYBQhx21B7N/l7a+C9KA+FA6vwzdAQmc07X\r\nK1Ob60T2UgmmgNAlZC8e/DS4pAN8tBiwE5ME0VqPOEnMToh1zKWW8TsV8EVz\r\nkBNdL7tAKdB1CHnIgmeCaK0tmTKnu5CWRe4AbDtyw9WY7wWvsXYsUqc5sLXC\r\nCEe/IWf/piBF0Z+gbTnYdhKbYAYS9uzFmYerfgt6+dILYLpAHpyqf7MFoVi+\r\nn8cSSpq0W338ilVxpNm8oLIGpqgiGLV200CP/En36i2UFy9A73w79u0SQ3ry\r\nmr3JBdpZ1CUE4XMun2mNbXqdafZflpA6WFk=\r\n=k613\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"damiencassou","email":"damien@cassou.me"},"directories":{},"maintainers":[{"name":"johan_degerfeldt","email":"johan.degerfeldt@wolterskluwer.com"},{"name":"nicolaspetton","email":"petton.nicolas@gmail.com"},{"name":"benjamin-vanryseghem","email":"benjamin.vanryseghem@gmail.com"},{"name":"damiencassou","email":"damien@cassou.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-cypress_3.0.2_1656402047683_0.13069046302548193"},"_hasShrinkwrap":false},"3.1.0":{"name":"@finsit/eslint-plugin-cypress","version":"3.1.0","description":"An ESLint plugin for projects using Cypress","main":"index.js","author":{"name":"Chris Breiding","url":"chris@cypress.io"},"license":"MIT","keywords":["eslint","eslintplugin","cypress"],"repository":{"type":"git","url":"git+https://github.com/foretagsplatsen/eslint-plugin-cypress.git"},"bugs":{"url":"https://github.com/foretagsplatsen/eslint-plugin-cypress/issues"},"homepage":"https://github.com/foretagsplatsen/eslint-plugin-cypress#readme","engines":{"node":">=8.10.0"},"peerDependencies":{"eslint":">= 7.0.0"},"dependencies":{"globals":"^13.15.0"},"devDependencies":{"eslint":"^8.18.0","eslint-plugin-eslint-plugin":"^4.3.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","generator-eslint":"^3.0.1","jest":"^28.1.1","semantic-release":"19.0.3"},"scripts":{"publish":"npm publish --access public","make-rule":"npx yo eslint:rule","lint":"eslint --ext js,cjs --report-unused-disable-directives .","lint-fix":"npm run lint -- --fix","semantic-release":"semantic-release","start":"npm run test-watch","test":"jest","test:v7":"npm i eslint@7.x && npm run test","test-watch":"jest --watchAll"},"jest":{"testMatch":["**/tests/**/*.js"]},"gitHead":"57fbf044c766927461a0d88bc23cc3036effc3b9","_id":"@finsit/eslint-plugin-cypress@3.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.13.1","dist":{"integrity":"sha512-zUXK5Zh6u4O5m1SOhtjNZMsWDsVJ/EMfIiW3dxTc2tg3nndB5pVg0RY5CoBJUqx340nK2YpzmxT0PKGKwr8NCQ==","shasum":"4abed5fbdd4eed53174d607a00a38b7bf7c73c8d","tarball":"https://registry.npmjs.org/@finsit/eslint-plugin-cypress/-/eslint-plugin-cypress-3.1.0.tgz","fileCount":44,"unpackedSize":69507,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAEnc64mSZFFoo3pR2pI+1OtOsAmfOq86yKzium/qUFwAiEAyL0n4yXegE0m0V2zm3MSQOJlgUJ6U3arRapN28KXne0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivwhLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYzw/+Litj90pGlsPs11xWKRcOYLbCrSthdzg2BpcjYPyX//Ld2WOz\r\nadsNTRiTtOmAIOhONrnzMd7EsvZkk8OPupirAwwIGSIMA5f0xgKPuFO13W1g\r\n/H/NJ1FVGQFcIx79/M1pmCuBHOBwldgjrjDe+2s+/u9+aXUWK6bxvkrnELjf\r\nnCcI6elxEONjvR8VvCG8rZe09pU2AV3XkAMZDOvYGwdkC7fOHS+I8Y65/lDr\r\nOCgUZdheWyF6xf8yQUAgzjG+i8riti0DloC4NV6d0n9gUjQJGPnt7M3Ux/ir\r\nxy9Dg/ACC6nozjjAm4taerGMxhtzDvreeZLUkYHsjN1VOZ65L/PNWRpkPpxN\r\nvlpcf7psEbt45Bc4C/klfGZuHDL2pk4mz4KZtddsBLa76WFDYlKye9mMd1FE\r\nOTjvcdxyZCxyPofoaRMBxcL2PLpU8aZUP0RqtHgJ08LufytdrUGPrupXjJHE\r\n/f/rnNLd4g0XVKWMNwp6GBrCD0UXgA0bn491BtD87uv9Ri+1YqfgiaD5YGRa\r\n36i3CzJIIwRlFfwkmdwduei+EQA7bAlBHrFCIzIrRnrYzHS7k4A2C+vskjN/\r\nP8WdGs6Lrl85Cxm0CPv0rSRxbOjMJhKB7QpDqw11ZPLz8MmWQWWPAPgn0eFR\r\nY6ngk7RWP5TPeLkJATK4m6qhB6HmMJzilc8=\r\n=DQ4v\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"damiencassou","email":"damien@cassou.me"},"directories":{},"maintainers":[{"name":"johan_degerfeldt","email":"johan.degerfeldt@wolterskluwer.com"},{"name":"nicolaspetton","email":"petton.nicolas@gmail.com"},{"name":"benjamin-vanryseghem","email":"benjamin.vanryseghem@gmail.com"},{"name":"damiencassou","email":"damien@cassou.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-cypress_3.1.0_1656686667217_0.5314719932040286"},"_hasShrinkwrap":false},"3.1.1":{"name":"@finsit/eslint-plugin-cypress","version":"3.1.1","description":"An ESLint plugin for projects using Cypress","main":"index.js","author":{"name":"Chris Breiding","url":"chris@cypress.io"},"license":"MIT","keywords":["eslint","eslintplugin","cypress"],"repository":{"type":"git","url":"git+https://github.com/foretagsplatsen/eslint-plugin-cypress.git"},"bugs":{"url":"https://github.com/foretagsplatsen/eslint-plugin-cypress/issues"},"homepage":"https://github.com/foretagsplatsen/eslint-plugin-cypress#readme","engines":{"node":">=8.10.0"},"peerDependencies":{"eslint":">= 7.0.0"},"dependencies":{"globals":"^13.15.0"},"devDependencies":{"eslint":"^8.18.0","eslint-plugin-eslint-plugin":"^4.3.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","generator-eslint":"^3.0.1","jest":"^28.1.1","semantic-release":"19.0.3"},"scripts":{"publish":"npm publish --access public","make-rule":"npx yo eslint:rule","lint":"eslint --ext js,cjs --report-unused-disable-directives .","lint-fix":"npm run lint -- --fix","semantic-release":"semantic-release","start":"npm run test-watch","test":"jest","test:v7":"npm i eslint@7.x && npm run test","test-watch":"jest --watchAll"},"jest":{"testMatch":["**/tests/**/*.js"]},"gitHead":"5b5754349a9c34a666636d52f2c4c842214cf625","_id":"@finsit/eslint-plugin-cypress@3.1.1","_nodeVersion":"16.15.0","_npmVersion":"8.13.1","dist":{"integrity":"sha512-cowFcoYNYOjg/yxKlQ7f26uiGl7FK2Sksvo0KaBnRF0EZbIJTv3apSRLB1RqaTg1N5bhLL9EpVwXqXRpcICNQg==","shasum":"e1d396ec0049cacbb9bc07db456043bce233beb2","tarball":"https://registry.npmjs.org/@finsit/eslint-plugin-cypress/-/eslint-plugin-cypress-3.1.1.tgz","fileCount":44,"unpackedSize":69696,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/oPMnH2ZkOT62XL7H2ZinIf5nw+N+wApkCS7ne4A38QIhAKkVY+VAYKAtSwpWPETuDoSdRavIX0iOGULhWzGmvQCg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixCt4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEjQ//feJOU/FzTCr3+ad58nEBsiYEc1VyIjgdxx59z+snAo7CrBAm\r\naWedruSFXBivLOvWogCy/9i5VT/se7pHX1SH1RcMyakV17rmVIMvKwRJQ7C4\r\nz+bntSNAGSoeHS+xC2Mag4E2ZD7cBqq7ErgOtTaoHr2aWvkD/epII/vgYiSd\r\n8GzrVaV1v9WEqR/BKi9q0y8uMF0yNXkc3o+GogFZn3WX/WegW8e6H7QlUPhZ\r\nmLsAIyt+ftAkAYLgtx2x7rj6Za8WVCIYZb2YyYPF5/E7SHGKDl5PuKo/lwMJ\r\nxJ06ln7StAat6XGkdSPUBLbm4YvCA+49c1sPG2yK90oQKCA59SouPxfJlKcG\r\nL5vCxKgE8EWsxkh6dKfdw3Q/rvSKyCv7OL5rN9WYtKTeBhd/4VxqaSmsMmtS\r\nXezYAYcxsVRfNum8NC5z2ItGOzANqf02W+Bs4lwRbdLqsjKzeahgaQR424Mj\r\nf5Dq/EBYw04/Kef9SbBNv8pojhtcwZQuPaGn/qOEApOlACND8naSW8D1Jmkt\r\nqWbMPQvqHqFDo9uT6wWh7WcFbCW6N0YyT78vILNfcO3kkYcMD/LDnVBfQ7AF\r\nxdHczDL/+Zm19r4gvGIfH3WjZgpPXxiwtTLf/I5MNssHYweacnGINlg0E9i8\r\nRXmXrkfKat6dBSnA6EhxW/f+qG0oACP/cKE=\r\n=jhsn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"damiencassou","email":"damien@cassou.me"},"directories":{},"maintainers":[{"name":"johan_degerfeldt","email":"johan.degerfeldt@wolterskluwer.com"},{"name":"nicolaspetton","email":"petton.nicolas@gmail.com"},{"name":"benjamin-vanryseghem","email":"benjamin.vanryseghem@gmail.com"},{"name":"damiencassou","email":"damien@cassou.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-cypress_3.1.1_1657023352303_0.3467364953976797"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-28T06:56:50.284Z","3.0.1":"2022-06-28T06:56:50.518Z","modified":"2022-07-05T12:15:52.628Z","3.0.2":"2022-06-28T07:40:47.851Z","3.1.0":"2022-07-01T14:44:27.397Z","3.1.1":"2022-07-05T12:15:52.469Z"},"maintainers":[{"name":"johan_degerfeldt","email":"johan.degerfeldt@wolterskluwer.com"},{"name":"nicolaspetton","email":"petton.nicolas@gmail.com"},{"name":"benjamin-vanryseghem","email":"benjamin.vanryseghem@gmail.com"},{"name":"damiencassou","email":"damien@cassou.me"}],"description":"An ESLint plugin for projects using Cypress","homepage":"https://github.com/foretagsplatsen/eslint-plugin-cypress#readme","keywords":["eslint","eslintplugin","cypress"],"repository":{"type":"git","url":"git+https://github.com/foretagsplatsen/eslint-plugin-cypress.git"},"author":{"name":"Chris Breiding","url":"chris@cypress.io"},"bugs":{"url":"https://github.com/foretagsplatsen/eslint-plugin-cypress/issues"},"license":"MIT","readme":"# Cypress ESLint Plugin [![Test](https://github.com/foretagsplatsen/eslint-plugin-cypress/actions/workflows/test.yml/badge.svg)](https://github.com/foretagsplatsen/eslint-plugin-cypress/actions/workflows/test.yml)\n\nAn [ESLint](https://eslint.org) plugin for your [Cypress](https://cypress.io) tests.\n\nNote: If you installed ESLint globally then you must also install `eslint-plugin-cypress` globally.\n\n## Installation\n\n```sh\nnpm install eslint-plugin-cypress --save-dev\n```\nor\n```sh\nyarn add eslint-plugin-cypress --dev\n```\n\n## Usage\n\nAdd an `.eslintrc.json` file to your `cypress` directory with the following:\n\n```json\n{\n  \"plugins\": [\n    \"cypress\"\n  ]\n}\n```\n\nYou can add rules:\n\n```json\n{\n  \"rules\": {\n    \"cypress/no-assigning-return-values\": \"error\",\n    \"cypress/no-unnecessary-waiting\": \"error\",\n    \"cypress/assertion-before-screenshot\": \"warn\",\n    \"cypress/no-force\": \"warn\",\n    \"cypress/no-async-tests\": \"error\",\n    \"cypress/no-pause\": \"error\"\n  }\n}\n```\n\nYou can allow certain globals provided by Cypress:\n\n```json\n{\n  \"env\": {\n    \"cypress/globals\": true\n  }\n}\n```\n\n## Recommended configuration\n\nUse the recommended configuration and you can forego configuring _plugins_, _rules_, and _env_ individually. See below for which rules are included.\n\n```json\n{\n  \"extends\": [\n    \"plugin:cypress/recommended\"\n  ]\n}\n```\n\n## Disable rules\n\nYou can disable specific rules per file, for a portion of a file, or for a single line.\n\nDisable the `cypress/no-unnecessary-waiting` rule for the entire file by placing this at the start of the file:\n\n```js\n/* eslint-disable cypress/no-unnecessary-waiting */\n```\n\nDisable the `cypress/no-unnecessary-waiting` rule for a portion of the file:\n\n```js\nit('waits for a second', () => {\n  ...\n  /* eslint-disable cypress/no-unnecessary-waiting */\n  cy.wait(1000)\n  /* eslint-enable cypress/no-unnecessary-waiting */\n  ...\n})\n```\n\nDisable the `cypress/no-unnecessary-waiting` rule for a specific line:\n\n```js\nit('waits for a second', () => {\n  ...\n  cy.wait(1000) // eslint-disable-line cypress/no-unnecessary-waiting\n  ...\n})\n```\n\nYou can also disable a rule for the next line:\n\n```js\nit('waits for a second', () => {\n  ...\n  // eslint-disable-next-line cypress/no-unnecessary-waiting\n  cy.wait(1000)\n  ...\n})\n```\n\nFor more, see the [ESLint rules](https://eslint.org/docs/user-guide/configuring/rules) documentation.\n\n## Rules\n\nThese rules enforce some of the [best practices recommended for using Cypress](https://on.cypress.io/best-practices).\n\nRules with a check mark (✅) are enabled by default while using the `plugin:cypress/recommended` config.\n\n|    | Rule ID                                                                                  | Description                                                     |\n|:---|:-----------------------------------------------------------------------------------------|:----------------------------------------------------------------|\n| ✅ | [no-assigning-return-values](./docs/rules/no-assigning-return-values.md)                 | Prevent assigning return values of cy calls                     |\n| ✅ | [no-unnecessary-waiting](./docs/rules/no-unnecessary-waiting.md)                         | Prevent waiting for arbitrary time periods                      |\n| ✅ | [no-async-tests](./docs/rules/no-async-tests.md)                                         | Prevent using async/await in Cypress test case                  |\n|    | [no-force](./docs/rules/no-force.md)                                                     | Disallow using `force: true` with action commands               |\n|    | [assertion-before-screenshot](./docs/rules/assertion-before-screenshot.md)               | Ensure screenshots are preceded by an assertion                 |\n|    | [require-data-selectors](./docs/rules/require-data-selectors.md)                         | Only allow data-\\* attribute selectors (require-data-selectors) |\n|    | [no-pause](./docs/rules/no-pause.md)                                                     | Disallow `cy.pause()` parent command                            |\n|    | [no-single-expect-in-then-or-should](./docs/rules/no-single-expect-in-then-or-should.md) | Simplify tests by avoiding lonely expect()                      |\n|    | [no-expect-for-stub](./docs/rules/no-expect-for-stub.md)                                 | Avoid expect(stub)…                                             |\n|    | [no-useless-then-or-should](./docs/rules/no-useless-then-or-should.md)                   | Avoid `.should()` and `.then()` when only wrapping commands     |\n\n## Chai and `no-unused-expressions`\n\nUsing an assertion such as `expect(value).to.be.true` can fail the ESLint rule `no-unused-expressions` even though it's not an error in this case. To fix this, you can install and use [eslint-plugin-chai-friendly](https://www.npmjs.com/package/eslint-plugin-chai-friendly).\n\n```sh\nnpm install --save-dev eslint-plugin-chai-friendly\n```\n\nIn your `.eslintrc.json`:\n\n```json\n{\n  \"plugins\": [\n    \"cypress\",\n    \"chai-friendly\"\n  ],\n  \"rules\": {\n    \"no-unused-expressions\": 0,\n    \"chai-friendly/no-unused-expressions\": 2\n  }\n}\n```\n\nOr you can simply add its `recommended` config:\n\n```json\n{\n  \"extends\": [\"plugin:chai-friendly/recommended\"]\n}\n```\n\n## Contribution Guide\n\nTo add a new rule:\n  * Fork and clone this repository\n  * Install dependencies with `npm install`\n  * Generate a new rule with `npm run make-rule`\n  * Run `yarn start` or `npm start`\n  * Write test scenarios then implement logic\n  * Describe the rule in the generated `docs` file\n  * Make sure all tests are passing\n  * Add the rule to this README\n  * Create a PR\n\nUse the following commit message conventions: https://github.com/semantic-release/semantic-release#commit-message-format\n","readmeFilename":"README.md"}