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

Enforce spaces around infix/unary words operators #4547

Merged

Conversation

simonbrunel
Copy link
Member

@simonbrunel simonbrunel commented Jul 22, 2017

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

@simonbrunel simonbrunel added this to the Version 2.7 milestone Jul 22, 2017
@simonbrunel simonbrunel requested a review from etimberg July 22, 2017 07:11
@simonbrunel simonbrunel force-pushed the eslint/space-infix-unary-ops branch 3 times, most recently from ef98230 to c51ef5e Compare July 22, 2017 07:35
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
@simonbrunel simonbrunel force-pushed the eslint/space-infix-unary-ops branch from c51ef5e to 037483c Compare July 22, 2017 07:38
@simonbrunel simonbrunel merged commit 4c763bf into chartjs:master Jul 22, 2017
@simonbrunel simonbrunel deleted the eslint/space-infix-unary-ops branch July 22, 2017 12:13
yofreke pushed a commit to yofreke/Chart.js that referenced this pull request Dec 30, 2017
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
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
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
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