Refactor type handling for response handler to fix dangerous casting (#126)

This commit is contained in:
Keavon Chambers
2021-05-15 01:02:33 -07:00
committed by GitHub
parent a1b80db51f
commit 1419f3bc6b
3 changed files with 111 additions and 44 deletions
+2
View File
@@ -29,6 +29,8 @@ module.exports = {
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"max-len": ["error", { code: 200, tabWidth: 4 }],
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
camelcase: ["error", { allow: ["^(?:[a-z]+_)*[a-z]+$"] }],
"prettier-vue/prettier": [
"error",