From 314e88af6b15299425542a2a4564c83bf13fe17a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 17 Apr 2020 11:00:23 +0300 Subject: [PATCH] Improved portability of lint scripts (#1612) * Double quote globs since single quotes don't work on all shells * Drop `find` and just use a glob pattern; `find` is a nix utility while this works everywhere --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f6a30c27e..5be6a02d0 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "build": "npm run clean && npx webpack --mode production", "clean": "npx rimraf material", "lint": "npm run lint:ts && npm run lint:scss", - "lint:scss": "npx stylelint `find src/assets -name *.scss`", - "lint:ts": "npx tslint -p tsconfig.json 'src/**/*.ts'", + "lint:scss": "npx stylelint \"src/assets/**/*.scss\"", + "lint:ts": "npx tslint -p tsconfig.json \"src/**/*.ts\"", "start": "npx webpack --mode development --watch" }, "dependencies": {