From 22333bef51ea292bed5d6117e83a41d3430f71ed Mon Sep 17 00:00:00 2001 From: Amaury Date: Fri, 25 Jun 2021 16:21:57 +0200 Subject: [PATCH] eslint and prettierrc added --- .eslintrc.json | 20 ++++++++++++++++++++ .prettierrc.json | 1 + 2 files changed, 21 insertions(+) create mode 100644 .eslintrc.json create mode 100644 .prettierrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..99e5a2d --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,20 @@ +{ + "env": { + "node": true, + "commonjs": true, + "es2021": true + }, + "extends": [ + "plugin:prettier/recommended", + "plugin:mocha/recommended" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 12 + }, + "plugins": [ + "@typescript-eslint", + "mocha" + ], + "rules": {} +} \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1 @@ +{} \ No newline at end of file