Skip to content

Commit

Permalink
Merge pull request #73 from polaroidkidd/fix/worker-availability-requ…
Browse files Browse the repository at this point in the history
…est-rerenders-entire-app

move worker availability  request to rtk query
  • Loading branch information
derneuere authored Jul 20, 2022
2 parents 3603813 + 99df305 commit f7608ab
Show file tree
Hide file tree
Showing 75 changed files with 9,291 additions and 7,107 deletions.
1 change: 1 addition & 0 deletions .env.development.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ DISABLE_NEW_JSX_TRANSFORM=false
# custom env vars
REACT_APP_PROXY_IP="localhost"
REACT_APP_PROXY_PORT="3000"
REACT_APP_WDYR=false
44 changes: 27 additions & 17 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ module.exports = {
extends: ["airbnb", "airbnb-typescript", "airbnb/hooks", "prettier"],
plugins: ["prettier"],
rules: {
"spaced-comment":"warn",
"prefer-template":"warn",
"spaced-comment": "warn",
"prefer-template": "warn",
"func-names": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"block-scoped-var": "warn",
"vars-on-top": "warn",
eqeqeq: "warn",
radix: "warn",
"arrow-body-style":"warn",
"prefer-destructuring":"warn",
"arrow-body-style": "warn",
"prefer-destructuring": "warn",
"max-classes-per-file": "warn",
"no-unneeded-ternary":"warn",
"no-await-in-loop":"warn",
"no-restricted-syntax":"warn",
"no-unneeded-ternary": "warn",
"no-await-in-loop": "warn",
"no-restricted-syntax": "warn",
"no-console": "off",
"no-bitwise":"warn",
"no-bitwise": "warn",
"no-process-exit": "off",
"no-void": "off",
"no-plusplus": "warn",
Expand All @@ -29,22 +29,31 @@ module.exports = {
"no-class-assign": "warn",
"no-nested-ternary": "warn",
"no-prototype-builtins": "warn",
"no-else-return":"warn",
"no-else-return": "warn",
"import/no-named-as-default": "warn",
"import/prefer-default-export": "off",
"import/no-default-export": "warn",
"import/no-cycle": "warn",
"import/named":"warn",
"import/no-mutable-exports":"warn",
"import/named": "warn",
"import/no-mutable-exports": "warn",
"jsx-a11y/control-has-associated-label": "warn",
"jsx-a11y/no-static-element-interactions": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/label-has-associated-control": "warn",
"jsx-a11y/no-noninteractive-element-interactions":"warn",
"react/function-component-definition":"warn",
"react/self-closing-comp":"warn",
"react/no-deprecated":"warn",
"react/jsx-no-bind": "warn",
"jsx-a11y/no-noninteractive-element-interactions": "warn",
"react/function-component-definition": "warn",
"react/self-closing-comp": "warn",
"react/no-deprecated": "warn",
"react/jsx-no-bind": [
"warn",
{
ignoreDOMComponents: true,
ignoreRefs: true,
allowArrowFunctions: true,
allowFunctions: true,
allowBind: true,
},
],
"react/prop-types": "warn",
"react/destructuring-assignment": "warn",
"react/jsx-filename-extension": "warn",
Expand All @@ -67,7 +76,8 @@ module.exports = {
"@typescript-eslint/no-shadow": "warn",
"@typescript-eslint/no-loop-func": "warn",
"@typescript-eslint/no-redeclare": "warn",
"@typescript-eslint/no-useless-constructor":"warn",
"@typescript-eslint/no-useless-constructor": "warn",
"@typescript-eslint/consistent-type-imports": ["error", { prefer: "type-imports", disallowTypeAnnotations: true }],
},
parserOptions: {
project: "./tsconfig.json",
Expand Down
Loading

0 comments on commit f7608ab

Please sign in to comment.