mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 16:36:22 +02:00
Add clearer app docs plus targeted desktop, CLI, web, and worker tests so cross-surface regressions are caught earlier and the repo is easier to navigate.
37 lines
921 B
JavaScript
37 lines
921 B
JavaScript
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
import tseslint from "typescript-eslint";
|
|
import { defineConfig, globalIgnores } from "eslint/config";
|
|
|
|
export default defineConfig([
|
|
globalIgnores(["dist/**"]),
|
|
{
|
|
files: ["src/**/*.ts"],
|
|
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
},
|
|
},
|
|
rules: {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"no-case-declarations": "off",
|
|
"no-useless-escape": "off",
|
|
"prefer-const": "off",
|
|
},
|
|
},
|
|
{
|
|
files: ["test/**/*.mjs", "bin/**/*.js"],
|
|
extends: [js.configs.recommended],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
},
|
|
},
|
|
rules: {
|
|
"no-unused-vars": "off",
|
|
},
|
|
},
|
|
]);
|