zulip/frontend_tests
Arpith Siromoney 6ae613c235 Eslint: Add additioanl rules, some for GCI.
This commit adds rules for GCI, turns on rules that do not error
on our codebase, and changes frontend_tests/.eslintrc.json's no-sync
rule to off (as per AirBnB's style guide).

Rules for GCI:
no-restricted-syntax, no-nested-ternary, spaced-comment,
space-infix-ops, newline-per-chained-call, padded-blocks,
no-whitespace-before-property, space-in-parens

Rules that do not error:
no-useless-constructor, no-dupe-class-members, no-duplicate-imports,
no-iterator, no-undef, dot-notation, no-case-declarations, no-unneeded-ternary,
eol-last,

Finally, eqeqeq is changed from 2 to ['error', 'allow-null'], going
from jslint defaults to airbnb's recommendation (there were no errors)
2016-12-05 10:01:56 -08:00
..
casper_lib Switch no-empty eslint rule from warning to error (in .eslintrc) 2016-12-05 01:35:14 +00:00
casper_tests lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
node_tests eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -08:00
zjsunit lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
.eslintrc.json Eslint: Add additioanl rules, some for GCI. 2016-12-05 10:01:56 -08:00
run-casper tests: Change doc file in run-casper 'Tips for debugging'. 2016-12-03 10:45:44 -08:00