4 ms·
Eslint with standardjs in js is so great, set it up and it will fail if you throw anything different from an error. https://github.com/standard https://github.
by furstenheim 5y ago
Eslint with standardjs in js is so great, set it up and it will fail if you throw anything different from an error.
https://github.com/standard https://github.com/standard
- silverwind 5y agoLink to the actual rule: https://eslint.org/docs/rules/no-throw-literal https://eslint.org/docs/rules/no-throw-literal