Merge .eslintrc.js in core/script/layered_api/ subdirectories into one
elements/toast/.eslintrc.js and kv-storage/.eslintrc.js were identical, and elements/virtual-scroller/.eslintrc.js had some differences. The following describes differences between them and decision for them. * virtual-scroller had '2' for no-magic-numbers exceptions. We keep the '2' exception. * virtual-scroller enabled max-len. We enable max-len. max-len is helpful because clang-format doesn't support *.mjs extension for now. * virtual-scroller had no no-lonely-if and no no-else-return. We drop them. Following these rules is sometimes harmful for code consistency. Change-Id: Icf3118e4d504248a55a284a763f7392c59793769 Bug: 976576 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1727447 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Domenic Denicola <domenic@chromium.org> Reviewed-by:
Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/master@{#683107}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment