Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: default directory #407

Merged
merged 5 commits into from
Oct 13, 2024
Merged

fix: default directory #407

merged 5 commits into from
Oct 13, 2024

Conversation

brenoepics
Copy link
Contributor

Summary

Description

Related Issues

Fixes #

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Screenshots (if applicable)

Copy link

logo Vue Mess Detector Analysis Results

PR Code Health Full Code Health

🚨 New Errors: 9
⚠️ New Warnings: 34
✅ Fixed Errors: 2
🔧 Fixed Warnings: 21
📝 Total Lines: 981
📁 Total Files: 10

New Issues

- src/cli.test.ts:
  rrd ~ function size: function (runCLI#21) is too long: 280 lines 🚨
- src/rules/vue-essential/vforNoKey.test.ts:
  rrd ~ Long <script> blocks: (111 lines) 🚨
- src/rules/vue-strong/multiAttributeElements.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (6) 🚨
- src/rules/rrd/nestedTernary.test.ts:
  rrd ~ Long <script> blocks: (121 lines) 🚨
- src/helpers/extractPropNames.ts:
  rrd ~ amount of comments: The script block contains 59.44% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/amountOfComments.test.ts:
  rrd ~ Long <script> blocks: (127 lines) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
- src/rules/rrd/noSkippedTests.test.ts:
  rrd ~ magic numbers: magic numbers found (line #58 magic number: 2) 🚨
  rrd ~ no skipped tests: line #28 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #44 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #58 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #66 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #70 skip test found: ".skipIf" 🚨
  rrd ~ no skipped tests: line #84 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #89 skip test found: ".skipIf" 🚨
- src/rules/rrd/vForExpression.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (6) 🚨
  rrd ~ function size: function (resetResults#9) is too long: 46 lines 🚨
  rrd ~ Zero Length Comparison: line #38 zero length comparison found (results) 🚨
- src/rules/rrd/amountOfComments.ts:
  rrd ~ function size: function (resetResults#7) is too long: 50 lines 🚨
  rrd ~ Zero Length Comparison: line #40 zero length comparison found (results) 🚨
- src/rules/rrd/noSkippedTests.ts:
  rrd ~ function size: function (resetResults#8) is too long: 43 lines 🚨
  rrd ~ Zero Length Comparison: line #34 zero length comparison found (results) 🚨
- src/rules/security/rateLimiter.ts:
  rrd ~ function size: function (resetResults#6) is too long: 39 lines 🚨
  rrd ~ Zero Length Comparison: line #28 zero length comparison found (results) 🚨
- src/helpers/getEscapedLink.ts:
  rrd ~ amount of comments: The script block contains 74.45% comments, which exceeds the limit of 30%. 🚨
- src/types/Override.ts:
  rrd ~ amount of comments: The script block contains 31.82% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/vForExpression.test.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (8) 🚨
- src/helpers/getConfig.ts:
  rrd ~ else conditions: else clauses found (1) 🚨
- src/rules/vue-strong/selfClosingComponents.test.ts:
  rrd ~ Long <script> blocks: (105 lines) 🚨

🔍 Download Full Analysis Details

For any issues or feedback, feel free to report them here.

Copy link

logo Vue Mess Detector Analysis Results

PR Code Health Full Code Health

🚨 New Errors: 9
⚠️ New Warnings: 34
✅ Fixed Errors: 2
🔧 Fixed Warnings: 21
📝 Total Lines: 981
📁 Total Files: 10

New Issues

- src/cli.test.ts:
  rrd ~ function size: function (runCLI#21) is too long: 280 lines 🚨
- src/rules/vue-essential/vforNoKey.test.ts:
  rrd ~ Long <script> blocks: (111 lines) 🚨
- src/rules/vue-strong/multiAttributeElements.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (6) 🚨
- src/rules/rrd/nestedTernary.test.ts:
  rrd ~ Long <script> blocks: (121 lines) 🚨
- src/helpers/extractPropNames.ts:
  rrd ~ amount of comments: The script block contains 59.44% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/amountOfComments.test.ts:
  rrd ~ Long <script> blocks: (127 lines) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
- src/rules/rrd/noSkippedTests.test.ts:
  rrd ~ magic numbers: magic numbers found (line #58 magic number: 2) 🚨
  rrd ~ no skipped tests: line #28 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #44 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #58 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #66 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #70 skip test found: ".skipIf" 🚨
  rrd ~ no skipped tests: line #84 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #89 skip test found: ".skipIf" 🚨
- src/rules/rrd/vForExpression.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (6) 🚨
  rrd ~ function size: function (resetResults#9) is too long: 46 lines 🚨
  rrd ~ Zero Length Comparison: line #38 zero length comparison found (results) 🚨
- src/rules/rrd/amountOfComments.ts:
  rrd ~ function size: function (resetResults#7) is too long: 50 lines 🚨
  rrd ~ Zero Length Comparison: line #40 zero length comparison found (results) 🚨
- src/rules/rrd/noSkippedTests.ts:
  rrd ~ function size: function (resetResults#8) is too long: 43 lines 🚨
  rrd ~ Zero Length Comparison: line #34 zero length comparison found (results) 🚨
- src/rules/security/rateLimiter.ts:
  rrd ~ function size: function (resetResults#6) is too long: 39 lines 🚨
  rrd ~ Zero Length Comparison: line #28 zero length comparison found (results) 🚨
- src/helpers/getEscapedLink.ts:
  rrd ~ amount of comments: The script block contains 74.45% comments, which exceeds the limit of 30%. 🚨
- src/types/Override.ts:
  rrd ~ amount of comments: The script block contains 31.82% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/vForExpression.test.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (8) 🚨
- src/helpers/getConfig.ts:
  rrd ~ else conditions: else clauses found (1) 🚨
- src/rules/vue-strong/selfClosingComponents.test.ts:
  rrd ~ Long <script> blocks: (105 lines) 🚨

🔍 Download Full Analysis Details

For any issues or feedback, feel free to report them here.

Copy link

pkg-pr-new bot commented Oct 13, 2024

Open in Stackblitz

yarn add https://pkg.pr.new/rrd108/[email protected]

commit: 50d9f6c

@rrd108 rrd108 merged commit 4ed44a6 into rrd108:main Oct 13, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants