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

Upgrade web dependencies #377

Merged
merged 2 commits into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions web/.eslintrc.js
Original file line number Diff line number Diff line change
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
Loading