]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix GitBook error with the shared ESLint config (#5133)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Thu, 11 Jan 2018 08:03:16 +0000 (09:03 +0100)
committerGitHub <noreply@github.com>
Thu, 11 Jan 2018 08:03:16 +0000 (09:03 +0100)
`gitbook-cli install` failed when trying to fetch eslint-config-chartjs because of the way it was installed (ie. using the GitHub repository URL). The shared config is now published on npmjs: https://www.npmjs.com/package/eslint-config-chartjs

package.json

index 510c141cd88aacb86b4684c0e533f6b877afd88f..c7d21043b1a9ebeb6f3444cb7d48af920032fe41 100644 (file)
@@ -16,7 +16,7 @@
     "child-process-promise": "^2.2.1",
     "coveralls": "^3.0.0",
     "eslint": "^4.9.0",
-    "eslint-config-chartjs": "git+https://github.com/chartjs/eslint-config-chartjs.git",
+    "eslint-config-chartjs": "^0.1.0",
     "gitbook-cli": "^2.3.2",
     "gulp": "3.9.x",
     "gulp-concat": "~2.6.x",