Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Upgrade web dependencies (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed May 11, 2021
1 parent 89d4d5e commit c723a0f
Show file tree
Hide file tree
Showing 8 changed files with 860 additions and 594 deletions.
28 changes: 16 additions & 12 deletions web/.eslintrc.js
Expand Up @@ -4,43 +4,47 @@ module.exports = {
'airbnb',
],
'rules': {
'arrow-parens': ['error', 'always'],
'camelcase': ['off'],
'class-methods-use-this': ['off'],
'jsx-a11y/click-events-have-key-events': ['off'],
'jsx-a11y/label-has-associated-control': ['off'],
'jsx-a11y/label-has-for': ['off'],
'jsx-a11y/no-autofocus': ['off'],
'jsx-a11y/no-static-element-interactions': ['off'],
'max-classes-per-file': ['off'],
'max-len': ['off'],
'no-multiple-empty-lines': ['off'],
'object-curly-newline': ['error', {
'consistent': true,
}],
'object-curly-spacing': ['error', 'never'],
'operator-linebreak': ['error', 'after'],
'prefer-destructuring': ['off'],
'prefer-object-spread': ['off'],
'prefer-template': ['off'],
'quote-props': ['error', 'consistent'],
'react/destructuring-assignment': ['off'],
'react/forbid-prop-types': ['off'],
'react/jsx-no-target-blank': ['off'],
'react/jsx-one-expression-per-line': ['off'],
'react/no-unescaped-entities': ['off'],
'react/sort-comp': ['off'],

'arrow-parens': ['error', 'always'],
'react/jsx-no-bind': ['error', {
'ignoreDOMComponents': false,
'ignoreRefs': false,
'allowArrowFunctions': true,
'allowFunctions': false,
'allowBind': false,
}],
'object-curly-newline': ['error', {
'consistent': true,
}],
'object-curly-spacing': ['error', 'never'],
'operator-linebreak': ['error', 'after'],
'react/jsx-no-target-blank': ['off'],
'react/jsx-one-expression-per-line': ['off'],
'react/jsx-props-no-spreading': ['off'],
'react/jsx-tag-spacing': ['error', {
'closingSlash': 'never',
'beforeSelfClosing': 'never',
'afterOpening': 'never',
'beforeClosing': 'never',
}],
'quote-props': ['error', 'consistent'],
'react/no-unescaped-entities': ['off'],
'react/sort-comp': ['off'],
'react/static-property-placement': ['off'],
},

'overrides': [{
Expand Down

0 comments on commit c723a0f

Please sign in to comment.