stable
Clone or download
Read-only
request #11867 Upgrade eslint to v5
No functional change expected. Two new rules will be enabled: https://eslint.org/docs/rules/for-direction https://eslint.org/docs/rules/getter-return How to test: - Create a new .js file, for example test.js - Add the following code to it function yolo() { const Things = [1, 2]; for (var i = Things.length - 1; i >= 0; i++) { console.log(Things[i]); } } - Try to commit the new file. The pre-commit hook should stop you. Change-Id: Ibc0b5b0b27f096d139d7fdc550bf1e772a384953
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintrc | +1 | −0 | Go to diff View file |
M | package-lock.json | +200 | −92 | Go to diff View file |
M | package.json | +2 | −2 | Go to diff View file |