All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m58s
28 lines
676 B
JavaScript
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]);
|