From 248f89c80eddf5f01cc78b9011d62a3c83801d1c Mon Sep 17 00:00:00 2001 From: soaos Date: Tue, 27 Jan 2026 23:07:40 -0500 Subject: Initial Commit --- eslint.config.mjs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 eslint.config.mjs (limited to 'eslint.config.mjs') diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..7c51b0c --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,27 @@ +import typescriptEslint from "typescript-eslint"; + +export default [{ + files: ["**/*.ts"], +}, { + plugins: { + "@typescript-eslint": typescriptEslint.plugin, + }, + + languageOptions: { + parser: typescriptEslint.parser, + ecmaVersion: 2022, + sourceType: "module", + }, + + rules: { + "@typescript-eslint/naming-convention": ["warn", { + selector: "import", + format: ["camelCase", "PascalCase"], + }], + + curly: "warn", + eqeqeq: "warn", + "no-throw-literal": "warn", + semi: "warn", + }, +}]; \ No newline at end of file -- cgit v1.2.3