reactor-lib
Version:
Simple reactive variables. Automatically run functions when variables change.
97 lines (88 loc) • 2.35 kB
Plain Text
{
"globals": {
"module",
"define"
},
"env": {
"node": true,
"browser": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
},
},
"extends": "eslint:recommended",
"rules": {
"comma-dangle": [2, "never"],
"block-scoped-var": 0,
"curly": 2,
"default-case": 2,
"dot-location": [2, "property"],
"eqeqeq": 2,
"no-eq-null": 2,
"no-floating-decimal": 2,
"no-implicit-coercion": 2,
"no-loop-func": 2,
"no-multi-spaces": [2, {exceptions: {"VariableDeclarator": true, "AssignmentExpression": true}}],
"no-native-reassign": 2,
"no-new-func": 2,
"no-proto": 2,
"no-return-assign": 2,
"no-redeclare": 0,
"no-script-url": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-unused-expressions": 2,
"no-useless-call": 2,
"no-useless-concat": 2,
"no-with": 2,
"radix": 2,
"wrap-iife": [2, "outside"],
"yoda": 2,
"init-declarations": [2, "always"],
"no-catch-shadow": 2,
"no-delete-var": 2,
"no-label-var": 2,
"no-shadow-restricted-names": 2,
"no-undef-init": 2,
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "stroustrup"],
"eol-last": 2,
"indent": [2, "tab", {"SwitchCase": 1}],
"jsx-quotes": [2, "prefer-double"],
"key-spacing": [2, {"align": "colon", "beforeColon": true, "afterColon": true, "mode": "minimum"}],
"linebreak-style": [2, "unix"],
"max-len": [2, 120, 0],
"new-parens": 2,
"newline-after-var": [2, "always"],
"no-array-constructor": 2,
"no-lonely-if": 2,
"no-multiple-empty-lines": 2,
"no-nested-ternary": 2,
"no-new-object": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unneeded-ternary": 2,
"object-curly-spacing": 2,
"one-var": [2, "never"],
"operator-linebreak": 2,
"padded-blocks": [2, "never"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2, {"int32Hint": false}],
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always", { "markers": ["!"] }],
"arrow-body-style": [2, "always"],
"arrow-parens": [2, "always"],
"arrow-spacing": 2,
"no-confusing-arrow": 2,
"object-shorthand": [2, "methods"]
}
}