Something went wrong. Try again.
a reactive (signals based) hypermedia web framework (wip) stormlightlabs.github.io/volt
hypermedia frontend signals
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738import { includeIgnoreFile } from "@eslint/compat";import js from "@eslint/js";import unicorn from "eslint-plugin-unicorn";import { defineConfig } from "eslint/config";import globals from "globals";import { fileURLToPath } from "node:url";import ts from "typescript-eslint";
const gitignorePath = fileURLToPath(new globalThis.URL("./.gitignore", import.meta.url));
/** @type {import('eslint').Linter.Config} */export default defineConfig( includeIgnoreFile(gitignorePath), js.configs.recommended, unicorn.configs.recommended, ...ts.configs.recommended, { languageOptions: { globals: { ...globals.browser, ...globals.node }, parserOptions: { project: "./tsconfig.json", tsconfigRootDir: import.meta.dirname }, }, rules: { "no-undef": "off", "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }], "@typescript-eslint/no-explicit-any": "off", "unicorn/prefer-ternary": "off", "no-console": "off", "unicorn/filename-case": ["warn", { cases: { pascalCase: true, kebabCase: true }, multipleFileExtensions: false, }], "unicorn/no-null": "off", "unicorn/prevent-abbreviations": "off", }, }, { rules: { "unicorn/prefer-top-level-await": "off" } },);