Spaces:
Running
Running
Download frontend/eslint.config.js from shiva0013/YT-AI-Automation: direct link, hf CLI and curl.
- Browser
- Download file 591 Bytes
-
https://huggingface.co/spaces/shiva0013/YT-AI-Automation/resolve/main/frontend/eslint.config.js
- Command line
-
hf download hf://spaces/shiva0013/YT-AI-Automation/frontend/eslint.config.js
-
curl -L -o eslint.config.js https://huggingface.co/spaces/shiva0013/YT-AI-Automation/resolve/main/frontend/eslint.config.js
591 Bytes
| import js from '@eslint/js' | |
| import globals from 'globals' | |
| import reactHooks from 'eslint-plugin-react-hooks' | |
| import reactRefresh from 'eslint-plugin-react-refresh' | |
| import tseslint from 'typescript-eslint' | |
| import { defineConfig, globalIgnores } from 'eslint/config' | |
| export default defineConfig([ | |
| globalIgnores(['dist']), | |
| { | |
| files: ['**/*.{ts,tsx}'], | |
| extends: [ | |
| js.configs.recommended, | |
| tseslint.configs.recommended, | |
| reactHooks.configs.flat.recommended, | |
| reactRefresh.configs.vite, | |
| ], | |
| languageOptions: { | |
| globals: globals.browser, | |
| }, | |
| }, | |
| ]) | |