Spaces:
Runtime error
Runtime error
Download frontend/eslint.config.js from Wauplin/docker-space-fastapi-react: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/Wauplin/docker-space-fastapi-react/resolve/0b85fad5cf55c54c90d93fa5cbc8aa3a4e3ad312/frontend/eslint.config.js
- Command line
-
hf download hf://spaces/Wauplin/docker-space-fastapi-react@0b85fad5cf55c54c90d93fa5cbc8aa3a4e3ad312/frontend/eslint.config.js
-
curl -L -o eslint.config.js https://huggingface.co/spaces/Wauplin/docker-space-fastapi-react/resolve/0b85fad5cf55c54c90d93fa5cbc8aa3a4e3ad312/frontend/eslint.config.js
1.02 kB
| import js from "@eslint/js"; | |
| import globals from "globals"; | |
| import reactHooks from "eslint-plugin-react-hooks"; | |
| import reactRefresh from "eslint-plugin-react-refresh"; | |
| import reactX from "eslint-plugin-react-x"; | |
| import reactDom from "eslint-plugin-react-dom"; | |
| import tseslint from "typescript-eslint"; | |
| import { globalIgnores } from "eslint/config"; | |
| export default tseslint.config([ | |
| globalIgnores(["dist"]), | |
| { | |
| files: ["**/*.{ts,tsx}"], | |
| extends: [ | |
| js.configs.recommended, | |
| tseslint.configs.recommended, | |
| reactHooks.configs["recommended-latest"], | |
| reactRefresh.configs.vite, | |
| // Enable lint rules for React | |
| reactX.configs["recommended-typescript"], | |
| // Enable lint rules for React DOM | |
| reactDom.configs.recommended, | |
| ], | |
| languageOptions: { | |
| ecmaVersion: 2020, | |
| globals: globals.browser, | |
| parserOptions: { | |
| project: ["./tsconfig.node.json", "./tsconfig.app.json"], | |
| tsconfigRootDir: import.meta.dirname, | |
| }, | |
| }, | |
| }, | |
| ]); | |