Download react-query/examples/react/basic/eslint.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 499 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/basic/eslint.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/basic/eslint.config.js
-
curl -L -o eslint.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/basic/eslint.config.js
499 Bytes
| import { tanstackConfig } from '@tanstack/config/eslint' | |
| import pluginQuery from '@tanstack/eslint-plugin-query' | |
| import pluginReact from '@eslint-react/eslint-plugin' | |
| import * as reactHooks from 'eslint-plugin-react-hooks' | |
| export default [ | |
| ...tanstackConfig, | |
| ...pluginQuery.configs['flat/recommended'], | |
| pluginReact.configs.recommended, | |
| reactHooks.configs.recommended, | |
| { | |
| rules: { | |
| 'react-hooks/exhaustive-deps': 'error', | |
| 'react-hooks/rules-of-hooks': 'error', | |
| }, | |
| }, | |
| ] | |