UNPKG

@engine9-io/input-tools

Version:

Tools for dealing with Engine9 inputs

14 lines (12 loc) 442 B
import js from "@eslint/js"; import globals from "globals"; import { defineConfig } from "eslint/config"; export default defineConfig([ { files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: { ...globals.node, // This includes 'process' and other Node.js globals // globals.browser } } }, { files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } }, ]);