]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Quote globs for equal operation in windows/linux (#8481)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Sun, 21 Feb 2021 17:47:12 +0000 (19:47 +0200)
committerGitHub <noreply@github.com>
Sun, 21 Feb 2021 17:47:12 +0000 (12:47 -0500)
package.json

index de00f13d5d415aea518ff6efcc2e6c0bf4ddeffc..e12cd6427b4d821785661e5fe64d4c4b1ad479a7 100644 (file)
     "build": "rollup -c",
     "dev": "karma start --auto-watch --no-single-run --browsers chrome --grep",
     "docs": "cd docs && npm install && npm run build",
-    "lint-js": "eslint samples/**/*.html samples/**/*.js src/**/*.js test/**/*.js",
+    "lint-js": "eslint \"samples/**/*.html\" \"samples/**/*.js\" \"src/**/*.js\" \"test/**/*.js\"",
     "lint-md": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"",
     "lint-tsc": "tsc",
-    "lint-types": "eslint types/**/*.d.ts && tsc -p types/tests/",
+    "lint-types": "eslint \"types/**/*.d.ts\" && tsc -p types/tests/",
     "lint": "concurrently \"npm:lint-*\"",
     "test": "npm run lint && cross-env NODE_ENV=test karma start --auto-watch --single-run --coverage --grep",
     "typedoc": "npx typedoc"