Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase ESLint complexity and add config for tests #4421

Merged
merged 1 commit into from
Jul 1, 2017

Conversation

simonbrunel
Copy link
Member

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).

@simonbrunel simonbrunel added this to the Version 2.7 milestone Jun 24, 2017
@simonbrunel simonbrunel changed the title Increase complexity and add custom config for tests Increase ESLint complexity and add config for tests Jun 24, 2017
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`).
@simonbrunel simonbrunel merged commit ecca337 into chartjs:master Jul 1, 2017
@simonbrunel simonbrunel deleted the eslint-setup branch July 1, 2017 07:55
yofreke pushed a commit to yofreke/Chart.js that referenced this pull request Dec 30, 2017
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`).
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
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`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants