react-templates/.eslintrc

54 lines
1.7 KiB
Plaintext

{
"extends": "wix-editor/node",
"plugins": ["lodash", "wix-editor"],
"settings": {
"lodash": {
"version": 4
}
},
"rules": {
"semi": [2, "always"],
"no-var": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-const": 0,
"prefer-spread": 0,
"prefer-template": 0,
"no-restricted-syntax": [2, "WithStatement", "ContinueStatement", "ForStatement"],
"no-negated-condition": 1,
"lodash/prop-shorthand": 2,
"lodash/matches-shorthand": [2, "always"],
"lodash/matches-prop-shorthand": [2, "always"],
"lodash/prefer-chain": 2,
"lodash/preferred-alias": 2,
"lodash/no-single-chain": 2,
"lodash/prefer-reject": [2, 3],
"lodash/prefer-filter": 0,
"lodash/callback-binding": 2,
"lodash/unwrap": 2,
"lodash/prefer-lodash-chain": 2,
"lodash/prefer-compact": 2,
"lodash/no-double-unwrap": 2,
"lodash/prefer-map": 0,
"lodash/prefer-wrapper-method": 2,
"lodash/prefer-thru": 2,
"lodash/prefer-get": [2, 3],
"lodash/collection-return": 2,
"lodash/prefer-times": 2,
"lodash/chain-style": [2, "as-needed"],
"lodash/path-style": 0,
"lodash/no-extra-args": 2,
"lodash/identity-shorthand": [2, "always"],
"wix-editor/augmented-assignment": 1,
"wix-editor/no-not-not": 1,
"wix-editor/no-unneeded-match": 1,
"wix-editor/prefer-filter": 1,
"wix-editor/prefer-ternary": 1,
"wix-editor/return-boolean": 1,
"wix-editor/simplify-boolean-expression": 1
}
}