Skip to content

Commit

Permalink
feat(eslint): spaced comment warn instead of error (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensacks authored Jun 5, 2020
1 parent 84b6c4a commit 51c539d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,12 @@ module.exports = {
'react/prop-types': 0,
'react/require-default-props': 0,
},
}, {
files: ['**/*.jsx'],
rules: {
// It is common to comment JSX during normal development, so 'warn' is least disruptive
// https://eslint.org/docs/rules/spaced-comment
'spaced-comment': 'warn',
},
}],
};

0 comments on commit 51c539d

Please sign in to comment.