UNPKG

@iflow/eslint-config

Version:

ESLint Configuration

9 lines (7 loc) 209 B
const isProduction = process.env.NODE_ENV === "production"; module.exports = { rules: { "no-console": isProduction ? "warn" : "off", "no-debugger": isProduction ? "error" : "off" } };