Skip to content

tools: set eslint comma-spacing to 'warn'

eslint takes comment as whitespace, resulting in code like

[0x2E/*'.'*/, 0x2B/*'+'*/, 0x2D/*'-'*/]

failing the linter. This change reduces the comma-spacing rule to a warning, making make lint pass. I also fixed some misc whitespace issues in .eslintrc.

encountered in: https://github.com/iojs/io.js/pull/1650 eslint issue: https://github.com/eslint/eslint/issues/2408

cc: @yosuke-furukawa

Merge request reports

Loading