to-no-case
to-no-case copied to clipboard
Replace RegExp's type from "var" to ES6's "const"
https://github.com/ianstormtaylor/to-no-case/blob/9d93bfe6c86b73bcd93d86c17d2ea28f164a967a/index.js#L12-L14
https://github.com/ianstormtaylor/to-no-case/blob/9d93bfe6c86b73bcd93d86c17d2ea28f164a967a/index.js#L35
https://github.com/ianstormtaylor/to-no-case/blob/9d93bfe6c86b73bcd93d86c17d2ea28f164a967a/index.js#L54
These Regular Expressions can be replaced with ES6's const value for better global usage and stability.
Hope you can consider this idea (>_<)