Skip to content

Commit

Permalink
chore: upgrade package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lorainegarutti committed Feb 21, 2023
1 parent ff2464a commit e938e87
Show file tree
Hide file tree
Showing 5 changed files with 23,217 additions and 25,094 deletions.
85 changes: 11 additions & 74 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"es2020": true,
"jest": true
},
"extends": ["plugin:react/recommended", "airbnb"],
"extends": ["plugin:react/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
Expand All @@ -14,21 +14,11 @@
},
"plugins": ["react", "react-hooks"],
"rules": {
"linebreak-style": ["error", "unix"],
"import/no-named-as-default": 1,
"quotes": ["error", "single"],
"semi": ["error", "always"],
"class-methods-use-this": ["off"],
"arrow-parens": ["error", "as-needed"],
"complexity": ["off", 11],
"no-magic-numbers": [
"error",
{
"ignore": [1],
"ignoreArrayIndexes": true,
"enforceConst": true,
"detectObjects": false
}
],
"no-unused-vars": "warn",
"no-console": "warn",
"quotes": ["error", "single"],
"react/button-has-type": [
"error",
{
Expand All @@ -37,64 +27,11 @@
"reset": true
}
],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/default-props-match-prop-types": ["error", { "allowRequiredDefaults": false }],
"react/destructuring-assignment": ["error", "always"],
"react/forbid-component-props": ["error"],
"react/forbid-prop-types": ["error"],
"react/no-did-mount-set-state": ["error"],
"react/no-did-update-set-state": ["error"],
"react/no-multi-comp": ["error", { "ignoreStateless": false }],
"react/no-access-state-in-setstate": ["error"],
"react/no-redundant-should-component-update": ["error"],
"react/no-this-in-sfc": ["error"],
"react/no-typos": ["error"],
"react/no-unsafe": ["error"],
"react/no-unused-state": ["error"],
"react/no-will-update-set-state": ["error"],
"react/prefer-es6-class": ["error", "always"],
"react/self-closing-comp": ["error"],
"react/state-in-constructor": ["error", "always"],
"react/void-dom-elements-no-children": ["error"],
"react/jsx-closing-bracket-location": ["error"],
"react/jsx-closing-tag-location": ["error"],
"react/jsx-curly-newline": ["error"],
"react/jsx-fragments": ["error"],
"react/jsx-max-depth": ["error", { "max": 8 }],
"react/jsx-no-useless-fragment": ["error"],
"react/jsx-curly-spacing": ["error", { "when": "always" }],
"react/jsx-equals-spacing": ["error", "never"],
"react/jsx-first-prop-new-line": ["error", "multiline"],
"react/jsx-indent": [
"error",
2,
{ "checkAttributes": true, "indentLogicalExpressions": true }
],
"react/jsx-indent-props": ["error", 2],
"react/jsx-key": ["error"],
"react/jsx-max-props-per-line": ["error", { "maximum": 1, "when": "multiline" }],
"react/jsx-tag-spacing": [
"error",
{
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never",
"beforeClosing": "never"
}
],
"react/jsx-wrap-multilines": [
"error",
{
"declaration": "parens",
"assignment": "parens",
"return": "parens",
"arrow": "parens",
"condition": "ignore",
"logical": "ignore",
"prop": "ignore"
}
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error"
"react/jsx-closing-bracket-location": "error",
"react/jsx-equals-spacing": "error",
"react/jsx-props-no-multi-spaces": "error",
"react/jsx-curly-brace-presence": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error"
}
}
Loading

0 comments on commit e938e87

Please sign in to comment.