It sounds like what you want is basically a built-in syntax requirement that replaces what should be an eslint rule. For consistency this would mean JS should also have the keyword `nobreak` to prevent accidental switch/case fallthrough. Or you could just write an eslint rule for this (if one doesn't already exist).
On Mon, Feb 12, 2018, at 6:51 AM, Александр Ефремов wrote: > Yes, agree that it doesn't backwards compatible. But type checking > systems (like typescript and flow) it's overhead for fast development. > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss