Files
no-twitter-bot/eslint.config.js
Lucid df433c1951
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m58s
Added cache exchange urq, fixed eslint, added prettier, upgraded yarn, added statsSite command.
2026-01-02 10:10:20 -05:00

28 lines
676 B
JavaScript

import globals from "globals";
import pluginJs from "@eslint/js";
import { defineConfig, globalIgnores } from "eslint/config";
import tseslint from "typescript-eslint";
/** @type {import('eslint').Linter.Config[]} */
export default defineConfig([
globalIgnores(["build/"]),
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"comma-dangle": [
"error",
{
arrays: "never",
objects: "never",
imports: "never",
exports: "never",
functions: "never"
}
]
}
}
]);