eslint-plugin-cypress 5.2.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +5 -1
- package/docs/rules/assertion-before-screenshot.md +3 -1
- package/docs/rules/no-assigning-return-values.md +3 -1
- package/docs/rules/no-async-before.md +3 -1
- package/docs/rules/no-async-tests.md +3 -1
- package/docs/rules/no-chained-get.md +3 -1
- package/docs/rules/no-debug.md +3 -1
- package/docs/rules/no-force.md +3 -1
- package/docs/rules/no-pause.md +3 -1
- package/docs/rules/no-unnecessary-waiting.md +3 -1
- package/docs/rules/no-xpath.md +3 -1
- package/docs/rules/require-data-selectors.md +3 -1
- package/docs/rules/unsafe-to-chain-command.md +3 -1
- package/lib/rules/unsafe-to-chain-command.js +1 -0
- package/package.json +7 -4
package/CONTRIBUTING.md
CHANGED
|
@@ -43,9 +43,13 @@ To add a new rule:
|
|
|
43
43
|
|
|
44
44
|
This plugin uses the ESLint [eslint-doc-generator](https://www.npmjs.com/package/eslint-doc-generator) to generate consistent documentation.
|
|
45
45
|
|
|
46
|
-
- Install with `npm install eslint-doc-generator -g`
|
|
46
|
+
- Install with `npm install eslint-doc-generator@latest -g`
|
|
47
47
|
- Run `eslint-doc-generator` in the root directory of the plugin
|
|
48
48
|
|
|
49
|
+
Note that [eslint-doc-generator](https://www.npmjs.com/package/eslint-doc-generator) has some unresolved issues running under
|
|
50
|
+
Microsoft Windows (see issue[#265](https://github.com/cypress-io/eslint-plugin-cypress/issues/265)).
|
|
51
|
+
Do not attempt to run under Windows until these issues are resolved.
|
|
52
|
+
|
|
49
53
|
## Merging pull requests
|
|
50
54
|
|
|
51
55
|
This information is for Cypress.io Members or Collaborators who merge pull requests:
|
package/docs/rules/no-debug.md
CHANGED
package/docs/rules/no-force.md
CHANGED
package/docs/rules/no-pause.md
CHANGED
package/docs/rules/no-xpath.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-cypress",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "An ESLint plugin for projects using Cypress",
|
|
5
5
|
"main": "./lib/flat.js",
|
|
6
6
|
"exports": {
|
|
@@ -34,14 +34,17 @@
|
|
|
34
34
|
"globals": "^16.2.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@
|
|
38
|
-
"eslint": "^
|
|
37
|
+
"@eslint/js": "^9.39.1",
|
|
38
|
+
"@stylistic/eslint-plugin": "^5.4.0",
|
|
39
|
+
"eslint": "^9.39.1",
|
|
39
40
|
"eslint-plugin-eslint-plugin": "^7.0.0",
|
|
40
41
|
"eslint-plugin-mocha": "^11.1.0",
|
|
41
42
|
"husky": "^9.1.7",
|
|
42
43
|
"prettier": "^3.6.2",
|
|
43
44
|
"semantic-release": "24.2.7",
|
|
44
|
-
"
|
|
45
|
+
"typescript": "^5.9.3",
|
|
46
|
+
"typescript-eslint": "^8.45.0",
|
|
47
|
+
"vitest": "^4.0.4"
|
|
45
48
|
},
|
|
46
49
|
"scripts": {
|
|
47
50
|
"lint": "eslint",
|