]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Increase ESLint complexity and add config for tests (#4421)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Sat, 1 Jul 2017 07:55:11 +0000 (09:55 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Jul 2017 07:55:11 +0000 (09:55 +0200)
commitecca3373b2aac74860fa35de79727fab8bf28494
treeecc589004cf9b6994e3fbf8e91ae9828b5d871f2
parent0eedec31f0ca61c257f18085cd6ac6cf52d1eaf3
Increase ESLint complexity and add config for tests (#4421)

Raise the cyclomatic complexity to 10 which seems to better match the project coding style and still reasonable (6 being quite low). Also move unit tests specific eslint rules in the cascaded `./test/.eslintrc` file (previously in `gulp.js`).
.eslintrc
gulpfile.js
test/.eslintrc [new file with mode: 0644]