diff --git a/mate-scripts/package.json b/mate-scripts/package.json index d1c854b..e81402c 100644 --- a/mate-scripts/package.json +++ b/mate-scripts/package.json @@ -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": { diff --git a/mate-scripts/src/commands/Lint.command.ts b/mate-scripts/src/commands/Lint.command.ts index 2494e56..03575f1 100644 --- a/mate-scripts/src/commands/Lint.command.ts +++ b/mate-scripts/src/commands/Lint.command.ts @@ -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) => {