Spaces:
Running
Running
Download eslint.config.js from LiquidAI/LFM2-MoE-WebGPU: direct link, hf CLI and curl.
- Browser
- Download file 623 Bytes
-
https://huggingface.co/spaces/LiquidAI/LFM2-MoE-WebGPU/resolve/main/eslint.config.js
- Command line
-
hf download hf://spaces/LiquidAI/LFM2-MoE-WebGPU/eslint.config.js
-
curl -L -o eslint.config.js https://huggingface.co/spaces/LiquidAI/LFM2-MoE-WebGPU/resolve/main/eslint.config.js
623 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: { | |
| ecmaVersion: 2020, | |
| globals: globals.browser, | |
| }, | |
| }, | |
| ]); | |