Skip to content

Commit

Permalink
fix: turn off react/no-array-index-key lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Jan 24, 2019
1 parent dcd3361 commit 370a874
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v1/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
'react/jsx-closing-bracket-location': OFF, // Formatting is left to Prettier.
'react/jsx-filename-extension': OFF, // Enable in future when migrating.
'react/jsx-one-expression-per-line': OFF, // Formatting is left to Prettier.
'react/no-array-index-key': OFF, // It's ok if you use it for static content.
'react/no-danger': OFF, // Need this to inject scripts.
'react/no-multi-comp': OFF, // One component per file creates too many files.
'react/no-unescaped-entities': [ERROR, {forbid: ['>', '}']}],
Expand Down

0 comments on commit 370a874

Please sign in to comment.