-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
lodash.js
54 lines (54 loc) · 1.6 KB
/
lodash.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports.recommended = {
plugins: {
lodash: require('eslint-plugin-lodash'),
},
rules: {
'lodash/callback-binding': 2,
'lodash/chain-style': [2, 'explicit'],
'lodash/chaining': [2, 'always'],
'lodash/collection-method-value': 2,
'lodash/collection-ordering': 2,
'lodash/collection-return': 2,
'lodash/consistent-compose': [2, 'flow'],
'lodash/identity-shorthand': [2, 'always'],
'lodash/import-scope': 0,
'lodash/matches-prop-shorthand': 2,
'lodash/matches-shorthand': [2, 'always', 3],
'lodash/no-commit': 2,
'lodash/no-double-unwrap': 2,
'lodash/no-extra-args': 2,
'lodash/no-unbound-this': 2,
'lodash/path-style': 0,
'lodash/prefer-compact': 2,
'lodash/prefer-constant': 0,
'lodash/prefer-filter': [2, 3],
'lodash/prefer-find': 2,
'lodash/prefer-flat-map': 2,
'lodash/prefer-get': [2, 3],
'lodash/prefer-immutable-method': 2,
'lodash/prefer-includes': 2,
'lodash/prefer-invoke-map': 0,
'lodash/prefer-is-nil': 2,
'lodash/prefer-lodash-chain': 2,
'lodash/prefer-lodash-method': 0,
'lodash/prefer-lodash-typecheck': 2,
'lodash/prefer-map': 2,
'lodash/prefer-matches': 2,
'lodash/prefer-noop': 0,
'lodash/prefer-over-quantifier': 2,
'lodash/prefer-reject': [1, 3],
'lodash/prefer-some': [
2,
{
includeNative: false,
},
],
'lodash/prefer-startswith': 0,
'lodash/prefer-thru': 2,
'lodash/prefer-times': 2,
'lodash/prefer-wrapper-method': 2,
'lodash/preferred-alias': 2,
'lodash/prop-shorthand': 2,
'lodash/unwrap': 2,
},
};