1 | import { |
||
2 | GraphQLBoolean |
||
3 | } from 'graphql'; |
||
4 | |||
5 | import BeerModel from '../../../models/beer.model'; |
||
6 | |||
7 | export default { |
||
8 | type: GraphQLBoolean, |
||
9 | resolve (root, params, options) { |
||
0 ignored issues
–
show
|
|||
10 | return BeerModel |
||
11 | .remove({}) |
||
12 | .exec(); |
||
13 | } |
||
14 | }; |
||
15 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.