@@ -14,7 +14,6 @@ module.exports = {
14
14
'plugin:node/recommended' ,
15
15
'plugin:import/recommended' ,
16
16
'plugin:promise/recommended' ,
17
- 'plugin:fp/recommended' ,
18
17
'plugin:ava/recommended' ,
19
18
'plugin:react/recommended' ,
20
19
'plugin:you-dont-need-lodash-underscore/all' ,
@@ -138,43 +137,6 @@ module.exports = {
138
137
'fp/no-unused-expression' : 0 ,
139
138
'fp/no-nil' : 0 ,
140
139
'fp/no-throw' : 0 ,
141
- // Avoid state mutation except for some known state variables
142
- 'fp/no-mutating-methods' : [
143
- 2 ,
144
- {
145
- allowedObjects : [
146
- 'error' ,
147
- 'errorA' ,
148
- 'req' ,
149
- 'request' ,
150
- 'res' ,
151
- 'response' ,
152
- 'state' ,
153
- 'runState' ,
154
- 'logs' ,
155
- 'logsArray' ,
156
- 'currentEnv' ,
157
- 't' ,
158
- ] ,
159
- } ,
160
- ] ,
161
- 'fp/no-mutation' : [
162
- 2 ,
163
- {
164
- commonjs : true ,
165
- exceptions : [
166
- { object : 'error' } ,
167
- { object : 'errorA' } ,
168
- { object : 'res' } ,
169
- { object : 'state' } ,
170
- { object : 'runState' } ,
171
- { object : 'logs' } ,
172
- { object : 'logsArray' } ,
173
- { object : 'currentEnv' } ,
174
- { object : 'process' , property : 'exitCode' } ,
175
- ] ,
176
- } ,
177
- ] ,
178
140
179
141
'import/extensions' : [ 2 , 'never' , { json : 'always' } ] ,
180
142
'import/max-dependencies' : [ 2 , { max : 20 } ] ,
0 commit comments