import { Linter } from "eslint" ; export const reactESLintConfig = { settings : { react : { version : "detect" , } , } , extends : [ "react-app" , "plugin:jsx-a11y/recommended" ] , rules : { "react/no-string-refs" : "warn" , "react-hooks/rules-of-hooks" : "error" , "react-hooks/exhaustive-deps" : "warn" , } , plugins : [ "jsx-a11y" ] , } ; export const reactTypescriptESLintConfig = { rules : { "@typescript-eslint/explicit-function-return-type" : "off" , } , } ; export const reactESLintDependencies = [ "eslint-plugin-react-app" , "eslint-config-react-app" , "eslint-plugin-jsx-a11y" ] ;