From 2106be2fb349965350dc68e8f6fbf1edd5617b6c Mon Sep 17 00:00:00 2001 From: Henry Boldizsar Date: Fri, 11 Jun 2021 10:31:48 -0500 Subject: [PATCH] Linting config adjustments Per Antonio's comments on PR #73 - promises instead of icky callbacks by using the browser global - most of the prettier config was already default --- .eslintrc | 2 +- .prettierrc | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.eslintrc b/.eslintrc index 077d9c8fd0..8046babe78 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,7 +1,7 @@ { "extends": ["airbnb", "plugin:prettier/recommended"], "globals": { - "chrome": "readonly" + "browser": "readonly" }, "rules": { "react/jsx-one-expression-per-line": [0], diff --git a/.prettierrc b/.prettierrc index 6a19c3a44e..cce9d3c080 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,7 +1,3 @@ { - "singleQuote": true, - "trailingComma": "es5", - "requirePragma": false, - "arrowParens": "always", - "prettier.eslintIntegration": true + "semi": false }