Skip to content

Commit

Permalink
feat(yoda): defined the rule
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed May 25, 2019
1 parent c53281a commit 09a6241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
}
],
'filenames/match-regex': ['error', '^[a-z0-9\\-\\.]+$'],
'arrow-parens': ['error', 'as-needed']
'arrow-parens': ['error', 'as-needed'],
yoda: ['error', 'always']
}
};

0 comments on commit 09a6241

Please sign in to comment.