Skip to content

Consume cypress rules from eslint-frontier-react-config/cypress #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions demo/test/snapshots/linting-config.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Generated by [AVA](https://ava.li).

`{␊
"env": {␊
"cypress/globals": true,␊
"jest/globals": true,␊
"es2021": true,␊
"es6": true,␊
Expand Down Expand Up @@ -43,6 +44,7 @@ Generated by [AVA](https://ava.li).
"@fs/zion",␊
"jest",␊
"you-dont-need-lodash-underscore",␊
"cypress",␊
"prettier",␊
"test-selectors",␊
"sonarjs",␊
Expand Down Expand Up @@ -292,6 +294,18 @@ Generated by [AVA](https://ava.li).
0,␊
"multi-line"␊
],␊
"cypress/no-assigning-return-values": [␊
"error"␊
],␊
"cypress/no-async-tests": [␊
"error"␊
],␊
"cypress/no-unnecessary-waiting": [␊
"error"␊
],␊
"cypress/unsafe-to-chain-command": [␊
"error"␊
],␊
"default-case": [␊
"error",␊
{␊
Expand Down Expand Up @@ -621,6 +635,7 @@ Generated by [AVA](https://ava.li).
]␊
],␊
"distinctGroup": true,␊
"named": false,␊
"warnOnUnassignedImports": false␊
}␊
],␊
Expand Down
Binary file modified demo/test/snapshots/linting-config.test.js.snap
Binary file not shown.
1 change: 1 addition & 0 deletions es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'@fs/eslint-config-frontier-react/jest',
'@fs/eslint-config-frontier-react/dont-need-lodash',
'@fs/eslint-config-frontier-react/typescript',
'@fs/eslint-config-frontier-react/cypress',
'@fs/eslint-config-frontier-react/prettierSetup', // Always have prettier last so it can override format rules in the extends before it
],
plugins: [
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fs/eslint-config-tree",
"version": "6.1.1",
"version": "6.2.0",
"description": "Shared Tree configuration that contains overrides and enhancements on top of the base frontier configuration.",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -28,8 +28,8 @@
"!.*"
],
"dependencies": {
"@babel/eslint-parser": "^7.25.1",
"@fs/eslint-config-frontier-react": "^11.2.0",
"@babel/eslint-parser": "^7.26.10",
"@fs/eslint-config-frontier-react": "^11.2.2",
"eslint": "^8.57.1",
"eslint-plugin-bestpractices": "github:skye2k2/eslint-plugin-bestpractices",
"eslint-plugin-deprecate": "^0.7.0",
Expand All @@ -42,7 +42,7 @@
"@fs/npm-publisher": "^1.6.0",
"ava": "^2.4.0",
"file-manager-js": "^3.1.6",
"husky": "^9.1.6"
"husky": "^9.1.7"
},
"scripts": {
"lint": "eslint demo",
Expand Down