Chart.js/test/.eslintrc
Simon Brunel ecca3373b2 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`).
2017-07-01 09:55:11 +02:00

13 lines
156 B
Plaintext

env:
jasmine: true
globals:
acquireChart: true
Chart: true
moment: true
# http://eslint.org/docs/rules/
rules:
# Best Practices
complexity: 0