Skip to content

Commit

Permalink
Warn before committing 'nocommit' in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dsernst committed Jan 31, 2020
1 parent 6a07e80 commit cce79d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ module.exports = {
'react-native/no-inline-styles': ['off'],
'sort-destructure-keys/sort-destructure-keys': 2,
'prefer-const': 2,
'no-warning-comments': [1, { terms: ['nocommit'] }],
},
}

0 comments on commit cce79d9

Please sign in to comment.