Andrey Lushnikov
41fd4b529e
chore(doclint): move doclint tests expectations into test folders ( #932 )
...
This makes for much easier work with doclint tests.
2017-10-02 11:37:16 -07:00
Eric Bidelman
1f9b4fb4c8
Change let into const ( #457 )
...
This patch:
- changes `let` into `const` throughout codebase
- adds eslint check to prefer const over let
2017-08-21 16:39:04 -07:00
JoelEinbinder
5d647bf1fa
Use const a lot fo places ( #188 )
2017-08-02 12:06:47 -07:00
Andrey Lushnikov
9b2e9ce6ca
Make test/golden-utils.js reusable
...
This patch makes test/golden-utils.js configurable with
output directory and the golden directory.
The plan is to reuse golden-utils for doclint tests.
2017-07-13 10:07:24 -07:00
Andrey Lushnikov
819fa355f4
Convert var's to let's
...
This patch:
- converts all var's to let's throughout the codebase
- enforces the let's over var's via the eslint rule
2017-06-22 14:58:39 -07:00
Pavel Feldman
437a93b26e
Reformat code using 2 spaces
2017-06-21 14:11:52 -07:00
Pavel Feldman
84bc09bce1
Revert "Reformat codebase into 2-spaces"
...
This reverts commit d0d1ee303e
.
2017-06-21 14:11:52 -07:00
Andrey Lushnikov
448ac4ce64
Reformat codebase into 2-spaces
...
This patch:
- reformats codebase to use 2-spaces instead of 4. This will
align the project with other codebases (e.g. DevTools and Lighthouse)
- enables eslint indentation checking
References #19
2017-06-21 14:11:52 -07:00
Andrey Lushnikov
229edb6b9b
Split out utils for golden tests into a separate file
2017-06-21 14:11:52 -07:00