aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.mjs
diff options
context:
space:
mode:
authorsoaos <soaos@soaos.dev>2026-01-27 23:07:40 -0500
committersoaos <soaos@soaos.dev>2026-01-27 23:07:40 -0500
commit248f89c80eddf5f01cc78b9011d62a3c83801d1c (patch)
treec99fb93881702415a4854753d311a50c06ea7741 /eslint.config.mjs
Initial Commit
Diffstat (limited to 'eslint.config.mjs')
-rw-r--r--eslint.config.mjs27
1 files changed, 27 insertions, 0 deletions
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