mirror of
https://github.com/imjasonh/gcp-metrics-action
synced 2026-07-07 00:22:45 +00:00
19 lines
429 B
JavaScript
19 lines
429 B
JavaScript
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
export default defineConfig([
|
|
{
|
|
ignores: ["dist/**", "node_modules/**"]
|
|
},
|
|
{
|
|
files: ["**/*.{js,mjs,cjs}"],
|
|
plugins: { js },
|
|
extends: ["js/recommended"],
|
|
languageOptions: { globals: globals.node }
|
|
},
|
|
{
|
|
files: ["**/*.js"],
|
|
languageOptions: { sourceType: "commonjs" }
|
|
},
|
|
]);
|