chore linter fix #234
Annotations
2 errors and 2 warnings
src/index.test.ts > yarn analyze command with configuration file > should execute without any flags and path:
src/index.test.ts#L116
AssertionError: expected '$ node ./dist/cli.js analyze\n👉 Usin…' to contain '👉 Using configuration from /home/run…'
- Expected
+ Received
- 👉 Using configuration from /home/runner/work/vue-mess-detector/vue-mess-detector/vue-mess-detector.json
+ $ node ./dist/cli.js analyze
+ 👉 Using configuration from vue-mess-detector.json
+ Analyzing Vue, TS and JS files in ./src
+ Project type: ?
+ Applying 2 rulesets: vue-recommended, vue-strong
+ Ignoring 0 rules/rulesets: N/A
+ Excluding -
+ Output level error
+ Grouping by rule
+ Ordering desc
+ Analyzing src/analyzer.ts...
+ Analyzing src/cli.js...
+ Analyzing src/generator/createDoc.js...
+ Analyzing src/generator/createRule.js...
+ Analyzing src/generator/insertRule2Rules.js...
+ Analyzing src/helpers/calculateCodeHealth.ts...
+ Analyzing src/helpers/coerceRules.ts...
+ Analyzing src/helpers/constants.ts...
+ Analyzing src/helpers/getPackageJson.ts...
+ Analyzing src/helpers/getProjectRoot.ts...
+ Analyzing src/helpers/groupRulesByRuleset.ts...
+ Analyzing src/helpers/projectTypeChecker.ts...
+ Analyzing src/helpers/validateOption.ts...
+ Analyzing src/index.test.ts...
+ Analyzing src/index.ts...
+ Analyzing src/missingRules.js...
+ Analyzing src/rules/asceeCodes.ts...
+ Analyzing src/rules/getLineNumber.test.ts...
+ Analyzing src/rules/getLineNumber.ts...
+ Analyzing src/rules/rrd/bigVif.test.ts...
+ Analyzing src/rules/rrd/bigVif.ts...
+ Analyzing src/rules/rrd/bigVshow.test.ts...
+ Analyzing src/rules/rrd/bigVshow.ts...
+ Analyzing src/rules/rrd/cyclomaticComplexity.test.ts...
+ Analyzing src/rules/rrd/cyclomaticComplexity.ts...
+ Analyzing src/rules/rrd/deepIndentation.test.ts...
+ Analyzing src/rules/rrd/deepIndentation.ts...
+ Analyzing src/rules/rrd/elseCondition.test.ts...
+ Analyzing src/rules/rrd/elseCondition.ts...
+ Analyzing src/rules/rrd/functionSize.test.ts...
+ Analyzing src/rules/rrd/functionSize.ts...
+ Analyzing src/rules/rrd/htmlLink.test.ts...
+ Analyzing src/rules/rrd/htmlLink.ts...
+ Analyzing src/rules/rrd/ifWithoutCurlyBraces.test.ts...
+ Analyzing src/rules/rrd/ifWithoutCurlyBraces.ts...
+ Analyzing src/rules/rrd/index.ts...
+ Analyzing src/rules/rrd/magicNumbers.test.ts...
+ Analyzing src/rules/rrd/magicNumbers.ts...
+ Analyzing src/rules/rrd/nestedTernary.test.ts...
+ Analyzing src/rules/rrd/nestedTernary.ts...
+ Analyzing src/rules/rrd/noPropDestructure.test.ts...
+ Analyzing src/rules/rrd/noPropDestructure.ts...
+ Analyzing src/rules/rrd/noVarDeclaration.test.ts...
+ Analyzing src/rules/rrd/noVarDeclaration.ts...
+ Analyzing src/rules/rrd/parameterCount.test.ts...
+ Analyzing src/rules/rrd/parameterCount.ts...
+ Analyzing src/rules/rrd/plainScript.test.ts...
+ Analyzing src/rules/rrd/plainScript.ts...
+ Analyzing src/rules/rrd/propsDrilling.test.ts...
+ Analyzing src/rules/rrd/propsDrilling.ts...
+ Analyzing src/rules/rrd/scriptLength.test.ts...
+ Analyzing src/rules/rrd/scriptLength.ts...
+ Analyzing src/rules/rrd/shortVariableName.test.ts...
+ Analyzing src/rules/rrd/shortVariableName.ts...
+ Analyzing src/rules/rrd/tooManyProps.test.ts...
+ Analyzing src/rules/rrd/tooManyProps.ts...
+ Analyzing src/rules/rrd/vForWithIndexKey.test.ts...
+ Analyzing src/rules/rrd/vForWithIndexKey.ts...
+ Analyzing src/rules/rrd/zeroLengthComparison.test.ts...
+ Analyzing src/rules/rrd/zeroLengthComparison.ts...
+ Analyzing src/rules/rules.ts...
+ Analyzing src/rules/vue-caution/elementSelectorsWithScoped.test.ts...
+ Analyzing src/rules/vue-caution/elementSelectorsWithScoped.ts...
+ Analyzing src/rules/vue-caution/implicitParentChildCommunication.test.ts...
+ Analyzing src/rules/vue-caution/implicitParentChildCommunication.ts...
+ Analyzing src/rules/vue-caution/index.ts...
+ Analyzing src/rules/vue-essential/globalStyle.test.ts...
+ Analyzing src/rules/vue-essential/globalStyle.ts...
+ Analyzing src/rules/vue-essential/index.ts...
+ Analyzing src/rules/vue-essential/simpleProp.test.ts...
+ Analyzing src/rules/vue-essential/simpleProp.ts...
+ Analyzing src/rules/vue-essential/singleNameComponent.test.ts...
+ Analyzi
|
test
Process completed with exit code 1.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|