ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.
Python ai-agentsamdcomfyuidockerllama-cppllmlocal-ain8nnvidiaopen-webuiragself-hostedspeech-to-textstrix-halotext-to-speechworkflow-automation
import js from "@eslint/js";
export default [
js.configs.recommended,
{
files: ["**/*.{js,jsx}"],
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
// Browser globals
document: "readonly",
window: "readonly",
navigator: "readonly",
console: "readonly",
fetch: "readonly",
setTimeout: "readonly",
clearTimeout: "readonly",
setInterval: "readonly",
clearInterval: "readonly",
URL: "readonly",
URLSearchParams: "readonly",
localStorage: "readonly",
sessionStorage: "readonly",
AbortController: "readonly",
AbortSignal: "readonly",
DOMException: "readonly",
Event: "readonly",
EventTarget: "readonly",
MessageEvent: "readonly",
CloseEvent: "readonly",
WebSocket: "readonly",
CustomEvent: "readonly",
MouseEvent: "readonly",
StorageEvent: "readonly",
Storage: "readonly",
File: "readonly",
HTMLElement: "readonly",
HTMLCanvasElement: "readonly",
HTMLDialogElement: "readonly",
HTMLAnchorElement: "readonly",
Image: "readonly",
Node: "readonly",
Blob: "readonly",
Audio: "readonly",
FormData: "readonly",
MediaRecorder: "readonly",
createImageBitmap: "readonly",
crypto: "readonly",
MutationObserver: "readonly",
ResizeObserver: "readonly",
IntersectionObserver: "readonly",
requestAnimationFrame: "readonly",
cancelAnimationFrame: "readonly",
TextDecoder: "readonly",
TextEncoder: "readonly",
confirm: "readonly",
alert: "readonly",
prompt: "readonly",
performance: "readonly",
// Vite
process: "readonly",
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},
rules: {
"no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
},
},
{
files: ["**/*.test.{js,jsx}", "**/__tests__/**/*.{js,jsx}"],
languageOptions: {
globals: {
describe: "readonly",
test: "readonly",
expect: "readonly",
it: "readonly",
vi: "readonly",
beforeEach: "readonly",
afterEach: "readonly",
beforeAll: "readonly",
afterAll: "readonly",
},
},
},
{
ignores: ["dist/**", "node_modules/**"],
},
];