{
	"extends": [
		"eslint:recommended",
		"plugin:react/recommended",
		"plugin:@typescript-eslint/recommended"
	],
	"parser": "@typescript-eslint/parser",
	"parserOptions": { "project": ["./tsconfig.json"] },
	"plugins": ["react", "@typescript-eslint"],
	"ignorePatterns": [
		"node_modules/",
		"webpack.config.js",
		"babel.config.js",
		"*.test.*",
		"app.config.ts",
		"android/"
	],
	"rules": {
		"react/react-in-jsx-scope": "off",
		"@typescript-eslint/no-unused-vars": "error",
		"@typescript-eslint/no-explicit-any": "warn",
		"@typescript-eslint/no-non-null-assertion": "off",
		"@typescript-eslint/no-empty-function": "off",
		"no-restricted-imports": [
			"error",
			{
				"name": "react-query",
				"importNames": ["useQuery", "useInfiniteQuery", "useQueries"],
				"message": "Use wrapper functions provided by Queries.ts"
			}
		]
	}
}
