diff --git a/.eslintcache b/.eslintcache deleted file mode 100644 index 995e67a..0000000 --- a/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\server\\src\\services\\Socket.Service.ts":"1","C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\web\\src\\pages\\index.tsx":"2","C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\web\\src\\services\\socket.services.ts":"3","C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\server\\src\\repositories\\usuario\\Usuario.Login.repository.ts":"4"},{"size":8770,"mtime":1674900488096,"results":"5","hashOfConfig":"6"},{"size":606,"mtime":1674859299311,"results":"7","hashOfConfig":"8"},{"size":190,"mtime":1674900605948,"results":"9","hashOfConfig":"8"},{"size":2667,"mtime":1677393760310,"results":"10","hashOfConfig":"6"},{"filePath":"11","messages":"12","suppressedMessages":"13","errorCount":0,"fatalErrorCount":0,"warningCount":17,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"1euzctq",{"filePath":"14","messages":"15","suppressedMessages":"16","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"pb9umz",{"filePath":"17","messages":"18","suppressedMessages":"19","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"20","messages":"21","suppressedMessages":"22","errorCount":0,"fatalErrorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\server\\src\\services\\Socket.Service.ts",["23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39"],[],"C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\web\\src\\pages\\index.tsx",[],[],"C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\web\\src\\services\\socket.services.ts",["40"],[],"C:\\Users\\duduf\\Documents\\Projetos\\fakerepo\\packages\\server\\src\\repositories\\usuario\\Usuario.Login.repository.ts",["41","42","43"],[],{"ruleId":"44","severity":1,"message":"45","line":4,"column":10,"nodeType":"46","messageId":"47","endLine":4,"endColumn":16},{"ruleId":"48","severity":1,"message":"49","line":32,"column":8,"nodeType":"50","messageId":"51","endLine":32,"endColumn":11,"suggestions":"52"},{"ruleId":"44","severity":1,"message":"53","line":34,"column":11,"nodeType":"46","messageId":"47","endLine":34,"endColumn":23},{"ruleId":"48","severity":1,"message":"49","line":37,"column":8,"nodeType":"50","messageId":"51","endLine":37,"endColumn":11,"suggestions":"54"},{"ruleId":"44","severity":1,"message":"55","line":39,"column":11,"nodeType":"46","messageId":"47","endLine":39,"endColumn":26},{"ruleId":"48","severity":1,"message":"49","line":43,"column":8,"nodeType":"50","messageId":"51","endLine":43,"endColumn":11,"suggestions":"56"},{"ruleId":"48","severity":1,"message":"49","line":49,"column":8,"nodeType":"50","messageId":"51","endLine":49,"endColumn":11,"suggestions":"57"},{"ruleId":"48","severity":1,"message":"49","line":55,"column":8,"nodeType":"50","messageId":"51","endLine":55,"endColumn":11,"suggestions":"58"},{"ruleId":"48","severity":1,"message":"49","line":92,"column":16,"nodeType":"50","messageId":"51","endLine":92,"endColumn":19,"suggestions":"59"},{"ruleId":"44","severity":1,"message":"60","line":96,"column":43,"nodeType":"46","messageId":"47","endLine":96,"endColumn":49},{"ruleId":"44","severity":1,"message":"60","line":108,"column":43,"nodeType":"46","messageId":"47","endLine":108,"endColumn":49},{"ruleId":"44","severity":1,"message":"60","line":123,"column":43,"nodeType":"46","messageId":"47","endLine":123,"endColumn":49},{"ruleId":"48","severity":1,"message":"49","line":203,"column":18,"nodeType":"50","messageId":"51","endLine":203,"endColumn":21,"suggestions":"61"},{"ruleId":"48","severity":1,"message":"49","line":216,"column":50,"nodeType":"50","messageId":"51","endLine":216,"endColumn":53,"suggestions":"62"},{"ruleId":"48","severity":1,"message":"49","line":223,"column":8,"nodeType":"50","messageId":"51","endLine":223,"endColumn":11,"suggestions":"63"},{"ruleId":"48","severity":1,"message":"49","line":230,"column":8,"nodeType":"50","messageId":"51","endLine":230,"endColumn":11,"suggestions":"64"},{"ruleId":"48","severity":1,"message":"49","line":305,"column":11,"nodeType":"50","messageId":"51","endLine":305,"endColumn":14,"suggestions":"65"},{"ruleId":"44","severity":1,"message":"66","line":3,"column":7,"nodeType":"46","messageId":"47","endLine":3,"endColumn":13},{"ruleId":"44","severity":1,"message":"67","line":8,"column":10,"nodeType":"46","messageId":"47","endLine":8,"endColumn":11},{"ruleId":"48","severity":1,"message":"49","line":52,"column":56,"nodeType":"50","messageId":"51","endLine":52,"endColumn":59,"suggestions":"68"},{"ruleId":"48","severity":1,"message":"49","line":84,"column":56,"nodeType":"50","messageId":"51","endLine":84,"endColumn":59,"suggestions":"69"},"@typescript-eslint/no-unused-vars","'SetKey' is defined but never used.","Identifier","unusedVar","@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["70","71"],"'IIOSendToKey' is defined but never used.",["72","73"],"'IIOSendToClient' is defined but never used.",["74","75"],["76","77"],["78","79"],["80","81"],"'reject' is defined but never used.",["82","83"],["84","85"],["86","87"],["88","89"],["90","91"],"'socket' is assigned a value but never used.","'z' is defined but never used.",["92","93"],["94","95"],{"messageId":"96","fix":"97","desc":"98"},{"messageId":"99","fix":"100","desc":"101"},{"messageId":"96","fix":"102","desc":"98"},{"messageId":"99","fix":"103","desc":"101"},{"messageId":"96","fix":"104","desc":"98"},{"messageId":"99","fix":"105","desc":"101"},{"messageId":"96","fix":"106","desc":"98"},{"messageId":"99","fix":"107","desc":"101"},{"messageId":"96","fix":"108","desc":"98"},{"messageId":"99","fix":"109","desc":"101"},{"messageId":"96","fix":"110","desc":"98"},{"messageId":"99","fix":"111","desc":"101"},{"messageId":"96","fix":"112","desc":"98"},{"messageId":"99","fix":"113","desc":"101"},{"messageId":"96","fix":"114","desc":"98"},{"messageId":"99","fix":"115","desc":"101"},{"messageId":"96","fix":"116","desc":"98"},{"messageId":"99","fix":"117","desc":"101"},{"messageId":"96","fix":"118","desc":"98"},{"messageId":"99","fix":"119","desc":"101"},{"messageId":"96","fix":"120","desc":"98"},{"messageId":"99","fix":"121","desc":"101"},{"messageId":"96","fix":"122","desc":"98"},{"messageId":"99","fix":"123","desc":"101"},{"messageId":"96","fix":"124","desc":"98"},{"messageId":"99","fix":"125","desc":"101"},"suggestUnknown",{"range":"126","text":"127"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"126","text":"128"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",{"range":"129","text":"127"},{"range":"129","text":"128"},{"range":"130","text":"127"},{"range":"130","text":"128"},{"range":"131","text":"127"},{"range":"131","text":"128"},{"range":"132","text":"127"},{"range":"132","text":"128"},{"range":"133","text":"127"},{"range":"133","text":"128"},{"range":"134","text":"127"},{"range":"134","text":"128"},{"range":"135","text":"127"},{"range":"135","text":"128"},{"range":"136","text":"127"},{"range":"136","text":"128"},{"range":"137","text":"127"},{"range":"137","text":"128"},{"range":"138","text":"127"},{"range":"138","text":"128"},{"range":"139","text":"127"},{"range":"139","text":"128"},{"range":"140","text":"127"},{"range":"140","text":"128"},[630,633],"unknown","never",[699,702],[790,793],[877,880],[964,967],[1636,1639],[4517,4520],[4818,4821],[4960,4963],[5117,5120],[7010,7013],[1343,1346],[2237,2240]] \ No newline at end of file diff --git a/.eslintrc b/.eslintrc index 5fc8c2f..1197973 100644 --- a/.eslintrc +++ b/.eslintrc @@ -38,6 +38,9 @@ "@typescript-eslint/no-unused-vars": [ "warn" ], + "@typescript-eslint/no-explicit-any": [ + "warn" + ], "eqeqeq": 0, "no-plusplus": 0, "import/extensions": "off", @@ -52,4 +55,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/package.json b/package.json index 5d17344..512846c 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,14 @@ "devDependencies": { "@types/babel__core": "^7.20.1", "@typescript-eslint/eslint-plugin": "^6.4.0", - "@typescript-eslint/parser": "^5.35.1", - "eslint": "^8.19.0", + "@typescript-eslint/parser": "^6.4.0", + "eslint": "^8.47.0", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-typescript": "^3.3.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-node": "^11.1.0", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.26.1", "eslint-plugin-react-hooks": "^4.2.0", @@ -52,4 +53,4 @@ "@prisma/client": "^5.1.1", "socket.io-client": "^4.5.4" } -} +} \ No newline at end of file