Skip to content

Commit

Permalink
chore: update eslint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-master committed Jun 12, 2021
1 parent bcd8304 commit e2e4b66
Show file tree
Hide file tree
Showing 3 changed files with 39,987 additions and 28,585 deletions.
12 changes: 9 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "airbnb",
"plugins": ["react", "react-hooks"],
"extends": ["airbnb"],
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"env": {
"browser": true,
"jest": true
Expand All @@ -13,14 +13,20 @@
"jsx": true
}
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"react/jsx-filename-extension": "off",
"semi": ["error", "always"],
"react/prop-types": "off",
"react/destructuring-assignment": "error",
"react/destructuring-assignment": "off",
"import/no-extraneous-dependencies": "off",
"react-hooks/rules-of-hooks": "error",
"react/button-has-type": "off",
"import/prefer-default-export": "off",
"prefer-promise-reject-errors": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off"
Expand Down
Loading

0 comments on commit e2e4b66

Please sign in to comment.