fix: inconsistent rule and update dependencies (#8)
Reviewed-on: #8 Co-authored-by: EndMove <superjeremi1302@gmail.com> Co-committed-by: EndMove <superjeremi1302@gmail.com>
This commit is contained in:
parent
37eb0ae673
commit
da8ebf2936
@ -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
1179
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