Skip to content

Commit

Permalink
fix: support never option (fixes #253)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed May 18, 2020
1 parent d297631 commit aca8583
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rules/requireReturnType.js
Expand Up @@ -2,7 +2,10 @@ import _ from 'lodash';

const schema = [
{
enum: ['always'],
enum: [
'always',
'never',
],
type: 'string',
},
{
Expand Down

0 comments on commit aca8583

Please sign in to comment.