fix: inconsistent rule and update dependencies
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
71ac3682b7
commit
2ea602b7c0
@ -17,23 +17,17 @@
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:vue/vue3-essential",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"plugins": [
|
||||
"jest",
|
||||
"cypress",
|
||||
"import",
|
||||
"@typescript-eslint",
|
||||
"prettier"
|
||||
"prettier",
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["test/**"],
|
||||
"plugins": ["jest"],
|
||||
"extends": ["plugin:jest/recommended", "plugin:jest/style"],
|
||||
"rules": { "jest/prefer-expect-assertions": "off" }
|
||||
},
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"plugins": [
|
||||
@ -60,7 +54,7 @@
|
||||
],
|
||||
"no-unused-expressions": "off",
|
||||
"@typescript-eslint/no-unused-expressions": [
|
||||
"error",
|
||||
"warn",
|
||||
{
|
||||
"allowShortCircuit": true,
|
||||
"allowTernary": true,
|
||||
@ -79,6 +73,12 @@
|
||||
"@typescript-eslint/no-useless-constructor": ["warn"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["test/**"],
|
||||
"plugins": ["jest"],
|
||||
"extends": ["plugin:jest/recommended", "plugin:jest/style"],
|
||||
"rules": { "jest/prefer-expect-assertions": "off" }
|
||||
},
|
||||
{
|
||||
"files": ["cypress/e2e/**/*.cy.ts"],
|
||||
"extends": ["plugin:cypress/recommended"],
|
||||
|
1183
package-lock.json
generated
1183
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@ -9,16 +9,16 @@
|
||||
".eslintrc.json"
|
||||
],
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
||||
"@typescript-eslint/parser": "^5.60.1",
|
||||
"eslint": "^8.43.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
||||
"@typescript-eslint/parser": "^6.5.0",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-cypress": "^2.13.3",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-jest": "^27.2.2",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "^9.15.1",
|
||||
"prettier": "^2.8.8"
|
||||
"eslint-plugin-cypress": "^2.14.0",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
"eslint-plugin-jest": "^27.2.3",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"prettier": "^3.0.3"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user