From eab2c80df5dce2ac1d22e3b0e7c8f89eeded79b1 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Fri, 17 Sep 2021 12:54:26 -0600 Subject: [PATCH] chore: standardize eslint (#295) * chore: standardize eslint * chore: standardize eslint * chore: update config --- .eslintrc.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 0017875..fa6b29d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,9 @@ { - "extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"], + "extends": [ + "eslint:recommended", + "plugin:prettier/recommended", + "plugin:@typescript-eslint/recommended" + ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 11, @@ -10,11 +14,13 @@ "no-var": 2, "prefer-arrow-callback": 2, "@typescript-eslint/ban-ts-comment": 0, + "@typescript-eslint/ban-types": 1, "@typescript-eslint/no-empty-function": 1 }, "env": { "browser": true, "es6": true, "jest/globals": true - } + }, + "globals": { "google": "readonly" } }