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

Commit

Permalink
fix(rules): disabled annoying rules
Browse files Browse the repository at this point in the history
  • Loading branch information
spudly committed Oct 7, 2021
1 parent 98a897b commit a3028d3
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ module.exports = {
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unnecessary-type-constraint": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-unsafe-call": "error",
"@typescript-eslint/no-unsafe-member-access": "error",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "error",
"@typescript-eslint/no-unused-expressions": [
"error",
Expand Down Expand Up @@ -257,7 +257,16 @@ module.exports = {
"import/dynamic-import-chunkname": "error",
"import/export": "error",
"import/exports-last": "error",
"import/extensions": "error",
"import/extensions": [
"error",
"always",
{
js: "never",
jsx: "never",
ts: "never",
tsx: "never",
},
],
"import/first": "error",
"import/group-exports": "off",
"import/max-dependencies": "off",
Expand Down Expand Up @@ -737,7 +746,7 @@ module.exports = {
"react/prefer-read-only-props": "error",
"react/prefer-stateless-function": "error",
"react/prop-types": "off",
"react/react-in-jsx-scope": "error",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/require-optimization": "off",
"react/require-render-return": "error",
Expand Down

0 comments on commit a3028d3

Please sign in to comment.