UNPKG

redux-pack

Version:

Sensible promise handling and middleware for redux

46 lines (45 loc) 1.16 kB
{ "root": true, "parser": "babel-eslint", "extends": "airbnb", "env": { "node": true }, "plugins": [ "prefer-object-spread" ], "ecmaFeatures": { "arrowFunctions": true, "blockBindings": true, "classes": true, "defaultParams": true, "destructuring": true, "forOf": true, "generators": false, "modules": true, "experimentalObjectRestSpread": true, "objectLiteralComputedProperties": true, "objectLiteralDuplicateProperties": false, "objectLiteralShorthandMethods": true, "objectLiteralShorthandProperties": true, "restParams": true, "spread": true, "superInFunctions": true, "templateStrings": true }, "rules": { "new-cap": 0, "no-use-before-define": 0, "arrow-body-style": 0, // triple equals is required except for when comparing with null "eqeqeq": [2, "allow-null"], // Allow console methods, which get removed during build process "no-console": 0, // Disable `arrow-parens` because it conflicts with Flow. "arrow-parens": 0, "prefer-object-spread/prefer-object-spread": 2 }, "globals": { "__DEV__": true } }