Many config files lack a file extension such as .babelrc, .eslintrc. Currently when trying to save one of these as a custom config an error will be thrown due to it not being a recognized file type. It should instead try to parse it as JSON if there is no file extension and gracefully fail if it is not valid JSON.