Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Changed eslint rule to prevent app from crashing
  • Loading branch information
Zhongou ZHENG committed Aug 22, 2021
commit c29bb210145c07ad71c062c80190d934fa4f1d93
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ module.exports = {
rules: {
'jsx-a11y/href-no-hash': ['off'],
'react/jsx-filename-extension': ['warn', { extensions: ['.js', '.jsx'] }],
'react/destructuring-assignment': [
'warn',
'always',
{
ignoreClassFields: false,
},
],
'max-len': [
'warn',
{
Expand Down