a reactive (signals based) hypermedia web framework (wip) stormlightlabs.github.io/volt/
hypermedia frontend signals
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 40 lines 1.4 kB view raw
1import { includeIgnoreFile } from "@eslint/compat"; 2import js from "@eslint/js"; 3import unicorn from "eslint-plugin-unicorn"; 4import { defineConfig } from "eslint/config"; 5import globals from "globals"; 6import { fileURLToPath } from "node:url"; 7import ts from "typescript-eslint"; 8 9const gitignorePath = fileURLToPath(new globalThis.URL("../.gitignore", import.meta.url)); 10 11/** @type {import('eslint').Linter.Config} */ 12export default defineConfig( 13 includeIgnoreFile(gitignorePath), 14 js.configs.recommended, 15 unicorn.configs.recommended, 16 ...ts.configs.recommended, 17 { 18 languageOptions: { 19 globals: { ...globals.browser, ...globals.node }, 20 parserOptions: { tsconfigRootDir: import.meta.dirname }, 21 }, 22 rules: { 23 "no-undef": "off", 24 "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }], 25 "@typescript-eslint/no-explicit-any": "off", 26 // Covered by unicorn 27 "@typescript-eslint/no-this-alias": "off", 28 "unicorn/prefer-ternary": "off", 29 "no-console": "off", 30 "unicorn/prefer-code-point": "off", 31 "unicorn/filename-case": ["warn", { 32 cases: { pascalCase: true, kebabCase: true }, 33 multipleFileExtensions: false, 34 }], 35 "unicorn/no-null": "off", 36 "unicorn/prevent-abbreviations": "off", 37 }, 38 }, 39 { rules: { "unicorn/prefer-top-level-await": "off" } }, 40);