Skip to content

Commit

Permalink
add prettier/react rules to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
eh-am committed Sep 23, 2021
1 parent b12a979 commit 95a89a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parser": "babel-eslint",
"plugins": ["prettier"],
"extends": ["airbnb", "prettier", "plugin:cypress/recommended"],
"extends": ["airbnb", "prettier", "prettier/react", "plugin:cypress/recommended"],
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"no-unused-vars": ["warn"],
Expand All @@ -15,7 +15,6 @@
"jsx-a11y/heading-has-content": ["warn"],
"jsx-a11y/control-has-associated-label": ["warn"],
"no-undef": ["warn"],
"react/jsx-one-expression-per-line": ["warn"],
"jsx-a11y/mouse-events-have-key-events": ["warn"],
"jsx-a11y/click-events-have-key-events": ["warn"],
"jsx-a11y/no-static-element-interactions": ["warn"],
Expand Down

0 comments on commit 95a89a4

Please sign in to comment.