redux-ab-test
Version:
A/B testing React components with Redux and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for React, Redux, and Segment.io
96 lines (95 loc) • 2.41 kB
Plain Text
{
"env": {
"browser": true,
"es6": true
},
"globals": {
"_": true,
"__filename": true,
"describe": true,
"it": true,
"test": true,
"beforeEach": true,
"afterEach": true,
"expect": true,
"global": true,
"jest": true,
"module": true,
"process": true,
"react": true,
"require": true
},
"parserOptions": {
"ecmaFeatures": {
"blockBindings": true,
"jsx": true,
"classes": true
}
},
"plugins": [
"import",
"react",
"flowtype",
"jsx-a11y"
],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"rules": {
"comma-dangle": [1, "always-multiline"],
"comma-spacing": [1],
"consistent-return": [1],
"eol-last": [1],
"flowtype/require-parameter-type": [0],
"flowtype/require-return-type": [0, "always", {"annotateUndefined": "never"}],
"flowtype/space-after-type-colon": 0,
"flowtype/space-before-type-colon": 0,
"flowtype/type-id-match": [0, "^([A-Z][a-z0-9]+)+[Type|Props]$"],
"global-strict": [0],
"indent": ["error", 2],
"import/named": "error",
"key-spacing": [0],
"new-cap": [0],
"no-case-declarations": [1],
"no-console": [0],
"no-constant-condition": ["error"],
"no-debugger": ["error"],
"no-dupe-keys": ["error"],
"no-extra-semi": ["error"],
"no-irregular-whitespace": ["error"],
"no-multi-spaces": [0],
"no-redeclare": ["error"],
"no-throw-literal": ["error"],
"no-trailing-spaces": ["error"],
"no-undef": ["error"],
"no-underscore-dangle": [0],
"no-unreachable": ["error"],
"no-unused-vars": ["error"],
"no-var": [0],
"quotes": ["error", "single"],
"react/display-name": [1],
"react/jsx-no-undef": "error",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/no-danger": [0],
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": [1],
"react/no-find-dom-node": 0,
"react/prop-types": 0,
"semi": [1],
"space-infix-ops": [0],
"strict": [0],
"valid-jsdoc": [0],
"eqeqeq": ["error"]
},
"settings": {
"flowtype": { "onlyFilesWithFlowAnnotation": false },
"import/resolver": {
"node": { "moduleDirectory": ["node_modules", "app"] }
}
}
}