Skip to content

Commit

Permalink
Merge pull request #6 from owowagency/cypress-eslint-setup
Browse files Browse the repository at this point in the history
added cypress basic and cypress typescript
  • Loading branch information
polinaowow authored Jun 20, 2023
2 parents 4acf1f5 + 9c424dd commit ecae028
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 1 deletion.
9 changes: 9 additions & 0 deletions packages/eslint-config-cypress-basic/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
extends: [
'@owowagency/eslint-config-basic',
'plugin:cypress/recommended',
],
rules: {
'cypress/no-unnecessary-waiting': 'warn',
},
};
27 changes: 27 additions & 0 deletions packages/eslint-config-cypress-basic/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "@owowagency/eslint-config-cypress-basic",
"version": "0.1.7",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
"keywords": [
"eslint-config"
],
"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"lint": "eslint . --config=index.js"
},
"peerDependencies": {
"eslint": ">=7.4.0"
},
"dependencies": {
"@owowagency/eslint-config-basic": "workspace:*",
"eslint-plugin-cypress": "^2.13.3"
},
"devDependencies": {
"eslint": "^8.38.0"
}
}
6 changes: 6 additions & 0 deletions packages/eslint-config-cypress-ts/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: [
'@owowagency/eslint-config-cypress-basic',
'@owowagency/eslint-config-ts',
],
};
28 changes: 28 additions & 0 deletions packages/eslint-config-cypress-ts/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "@owowagency/eslint-config-cypress-ts",
"version": "0.1.7",
"description": "",
"license": "MIT",
"homepage": "https://github.com/owowagency/eslint-config",
"keywords": [
"eslint-config"
],
"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"lint": "eslint . --config=index.js"
},
"peerDependencies": {
"eslint": ">=7.4.0"
},
"dependencies": {
"@owowagency/eslint-config-ts": "workspace:*",
"@owowagency/eslint-config-cypress-basic": "workspace:*"
},
"devDependencies": {
"eslint": "^8.38.0",
"typescript": "^5.0.4"
}
}
45 changes: 44 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecae028

Please sign in to comment.