fix: inconsistent rule and update dependencies #8

Merged
EndMove merged 1 commits from fix/rule-deps-update into master 2023-09-02 15:46:49 +02:00
3 changed files with 1040 additions and 183 deletions

View File

@ -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"],

1179
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",