Skip to content

Commit

Permalink
add eslint-plugin-cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin committed Jul 3, 2024
1 parent 72c0ab0 commit 989a881
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions apps/web/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
root: true,
env: {
'cypress/globals': true,
},
extends: ['@vuejs-jp/eslint-config/vue-library.js'],
plugins: ['cypress'],
rules: {
'vue/multi-word-component-names': [
'error',
Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@vuejs-jp/typescript-config": "workspace:*",
"@vuejs-jp/vuefes-ui": "workspace:*",
"cypress": "13.6.4",
"eslint-plugin-cypress": "3.3.0",
"nuxt": "3.11.2",
"nuxt-gtag": "2.0.5",
"open-props": "^1.6.21",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
14 changes: 11 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
# bun ./bun.lockb --hash: 5950F3FB43237B1F-478dc67665248c13-1D03415B99E92FC4-2dde3e7505f22f70
# bun ./bun.lockb --hash: E9F8B4DAF5EA9E4C-c878c61cb6cef7fe-49B52D0E430D8ED6-df93d0331a1f93a1


"@aashutoshrathi/word-wrap@^1.2.3":
Expand Down Expand Up @@ -5914,6 +5914,7 @@
"@vuejs-jp/typescript-config" "packages/typescript-config"
"@vuejs-jp/vuefes-ui" "packages/ui"
cypress "13.6.4"
eslint-plugin-cypress "3.3.0"
nuxt "3.11.2"
nuxt-gtag "2.0.5"
open-props "^1.6.21"
Expand Down Expand Up @@ -8807,7 +8808,7 @@ eslint@>=6.0.0, eslint@>=7.0.0, "eslint@^6.0.0 || ^7.0.0 || >=8.0.0":
strip-ansi "^6.0.1"
text-table "^0.2.0"

[email protected], eslint@>6.6.0, "eslint@^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "eslint@^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "eslint@^7.0.0 || ^8.0.0":
[email protected], eslint@>6.6.0, eslint@>=7, "eslint@^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "eslint@^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "eslint@^7.0.0 || ^8.0.0":
version "8.57.0"
resolved "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz"
integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==
Expand Down Expand Up @@ -8863,6 +8864,13 @@ [email protected]:
dependencies:
eslint-plugin-turbo "1.13.4"

[email protected]:
version "3.3.0"
resolved "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-3.3.0.tgz"
integrity sha512-HPHMPzYBIshzJM8wqgKSKHG2p/8R0Gbg4Pb3tcdC9WrmkuqxiKxSKbjunUrajhV5l7gCIFrh1P7C7GuBqH6YuQ==
dependencies:
globals "^13.20.0"

[email protected]:
version "1.1.0"
resolved "https://registry.npmjs.org/eslint-plugin-only-warn/-/eslint-plugin-only-warn-1.1.0.tgz"
Expand Down Expand Up @@ -9982,7 +9990,7 @@ globals@^11.1.0:
resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz"
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==

globals@^13.19.0, globals@^13.24.0:
globals@^13.19.0, globals@^13.20.0, globals@^13.24.0:
version "13.24.0"
resolved "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz"
integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==
Expand Down

0 comments on commit 989a881

Please sign in to comment.