babel.config.js
Function babelConfig
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
module.exports = function babelConfig(api) {
var validEnv = ['development', 'test', 'production'];
var currentEnv = api.env();
var isDevelopmentEnv = api.env('development');
var isProductionEnv = api.env('production');
Parsing error: parser.parse is not a function Open
Open
module.exports = function babelConfig(api) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/