X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fpackage.json;h=172b5c4ca73adae20a3e90b264c9d33d15691be5;hb=910d631b73cad5ffef1b4461157b704e7e7057d8;hp=242acdc2058dcac10fb913fb539e156c0f936c0c;hpb=5b07549c88c1d74ffb9990a3927db26b61d47705;p=vchess.git diff --git a/client/package.json b/client/package.json index 242acdc2..172b5c4c 100644 --- a/client/package.json +++ b/client/package.json @@ -15,7 +15,6 @@ "devDependencies": { "@vue/cli-plugin-eslint": "^3.12.1", "@vue/cli-service": "^4.2.2", - "@vue/eslint-config-prettier": "^4.0.1", "ajv": "^6.11.0", "apply-loader": "^2.0.0", "babel-eslint": "^10.0.3", @@ -39,11 +38,39 @@ }, "extends": [ "plugin:vue/essential", - "@vue/prettier" + "eslint:recommended" ], "rules": {}, "parserOptions": { "parser": "babel-eslint" + }, + "globals": { + "V": "readonly" + }, + "rules": { + "consistent-return": 2, + "indent": [ + "error", + 2, + { + "SwitchCase": 1, + "VariableDeclarator": "first", + "FunctionExpression": { + "parameters": "first" + }, + "CallExpression": { + "arguments": "first" + }, + "flatTernaryExpressions": true + } + ], + "no-else-return": [ + 1, + { + "allowElseIf": false + } + ], + "semi": [1, "always"] } }, "postcss": {