From 8a3b2a0b7a7df4fb720c3bb3b85cc07ddc48dbcc Mon Sep 17 00:00:00 2001 From: Tee Date: Mon, 15 Mar 2021 21:43:43 -0400 Subject: [PATCH] Add eslint config files --- .eslintignore | 2 ++ .eslintrc.json | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .eslintignore create mode 100644 .eslintrc.json diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..76add87 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +node_modules +dist \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..4548e3b --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,19 @@ +{ + "root": true, + "parser": "@typescript-eslint/parser", + "plugins": [ + "@typescript-eslint", + "prettier" + ], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/eslint-recommended", + "plugin:@typescript-eslint/recommended", + "prettier" + ], + "rules": { + "@typescript-eslint/no-empty-interface": 0, + "@typescript-eslint/no-empty-function": 0, + "no-console": 1 + } +} \ No newline at end of file