Skip to content

Commit

Permalink
resolving deps issue with ocktokit
Browse files Browse the repository at this point in the history
  • Loading branch information
theztefan committed Jan 16, 2025
1 parent 8bd1439 commit 988634d
Show file tree
Hide file tree
Showing 15 changed files with 33,117 additions and 40,997 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

65,310 changes: 31,904 additions & 33,406 deletions dist/index.js

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [{
ignores: ["**/node_modules", "**/dist", "**/coverage", "**/lib", "**/test"],
}, ...compat.extends(
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
), {
plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
parser: tsParser,
},
rules: {
"@typescript-eslint/no-explicit-any": "off"
}
}];
Loading

0 comments on commit 988634d

Please sign in to comment.