Skip to content

Commit

Permalink
[mate-scripts] fix lint styles for vue projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinko committed Aug 24, 2024
1 parent 021cd06 commit eb1944c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mate-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mate-academy/scripts",
"version": "1.9.3",
"version": "1.9.4",
"description": "Scripts to init, run, test, deploy Mate academy homework projects",
"main": "bin/mateScripts.js",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions mate-scripts/src/commands/Lint.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ export class LintCommand extends Command {
};

protected vue = (options: LintOptions) => {
const { styles, files } = options;
const { javascript, styles, files } = options;

if (styles) {
this.lintStyles(files);
}

this.lintJs(files);
if (javascript) {
this.lintJs(files);
}
};

protected vueTypescript = (options: LintOptions) => {
Expand Down

0 comments on commit eb1944c

Please sign in to comment.