]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Enforce spaces around infix/unary words operators (#4547)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Sat, 22 Jul 2017 12:13:09 +0000 (14:13 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2017 12:13:09 +0000 (14:13 +0200)
commit4c763bff44345ff5bbf2acc97cbce8918fa5b055
tree85e0310a1d88b1df5eb86bc763701ebe0d450de2
parentf6b6956a3aeb341fb3987a8ddb6c76fb9a37999c
Enforce spaces around infix/unary words operators (#4547)

Enable ESLint `space-infix-ops` and `space-unary-ops` (for words only) rules. Also added `samples` to the linting task to match Code Climate expectations.

http://eslint.org/docs/rules/space-infix-ops
http://eslint.org/docs/rules/space-unary-ops
35 files changed:
.eslintrc
gulpfile.js
samples/charts/area/analyser.js
samples/utils.js
src/controllers/controller.bar.js
src/controllers/controller.line.js
src/core/core.animation.js
src/core/core.controller.js
src/core/core.datasetController.js
src/core/core.element.js
src/core/core.helpers.js
src/core/core.layoutService.js
src/core/core.plugin.js
src/core/core.scale.js
src/elements/element.point.js
src/elements/element.rectangle.js
src/helpers/helpers.canvas.js
src/helpers/helpers.core.js
src/helpers/helpers.options.js
src/helpers/helpers.time.js
src/platforms/platform.dom.js
src/plugins/plugin.filler.js
src/plugins/plugin.legend.js
src/plugins/plugin.title.js
src/scales/scale.logarithmic.js
src/scales/scale.radialLinear.js
src/scales/scale.time.js
test/jasmine.matchers.js
test/jasmine.utils.js
test/specs/controller.bubble.tests.js
test/specs/core.controller.tests.js
test/specs/global.deprecations.tests.js
test/specs/helpers.core.tests.js
test/specs/helpers.easing.tests.js
test/specs/platform.dom.tests.js