Skip to content

Commit

Permalink
fix: revert lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop committed Sep 12, 2024
1 parent 3c759e6 commit ed9e829
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
const globals = require("globals");
const pluginJs = require("@eslint/js");
const tseslint = require("typescript-eslint");
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


config = [
export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.node }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];

module.exports = config;
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"generative-ai"
],
"version": "1.0.0",
"type": "commonjs",
"type": "module",
"main": "lib/cjs/index.js",
"module": "./lib/esm/index.mjs",
"repository": {
Expand Down

0 comments on commit ed9e829

Please sign in to comment.