diff --git a/.eslintrc.json b/.eslintrc.json index 31e37fb..6bae3d3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -21,33 +21,46 @@ } }, "rules": { + "no-shadow": "off", + "no-return-await": "off", + "consistent-return": "off", "react/jsx-uses-react": "off", "react/react-in-jsx-scope": "off", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": [ + "error", + { "argsIgnorePattern": "^_" } + ], + "react/button-has-type": "off", "react/jsx-filename-extension": [ "error", { "extensions": [".js", ".tsx"] } ], "react/prop-types": "off", "react/jsx-one-expression-per-line": "off", + "react/jsx-no-useless-fragment": "off", "import/extensions": ["error", "never"], "import/prefer-default-export": "off", "import/no-unresolved": ["error", { "ignore": ["jotai-scope"] }], "no-param-reassign": "off", + "no-promise-executor-return": "off", "no-plusplus": "off", "no-bitwise": "off", "symbol-description": "off", "prefer-object-spread": "off", + "no-return-assign": "off", "no-use-before-define": "off", "no-unused-vars": "off", "no-redeclare": "off", - "camelcase": ["error", { "allow": ["^INTERNAL_"] }], + "camelcase": ["error", { "allow": ["^INTERNAL_", "^unstable_"] }], "react/function-component-definition": [ "error", { "namedComponents": "function-declaration" } ], + "react/no-unescaped-entities": "off", + "react/no-array-index-key": "off", "react/require-default-props": "off", "react/destructuring-assignment": "off", "react/jsx-no-constructed-context-values": "off", diff --git a/.prettierrc b/.prettierrc index a20502b..773be00 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,6 @@ { "singleQuote": true, - "trailingComma": "all" + "trailingComma": "all", + "semi": false, + "printWidth": 100 }