From d8f4e79e20d515710868e9a59badb29adba59ad1 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Thu, 30 Jan 2020 20:03:03 +0530 Subject: [PATCH] chore: add eslint rules for react/jsx --- .eslintrc.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index a6e248f..1b3a617 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,13 +1,11 @@ { - "extends":["onepass"], - "env": { - "browser": true, - "webextensions": true - }, + "extends":["onepass"], "rules": { "no-console": 0, "no-extend-native": 0, "react/jsx-filename-extension": [1, { "extensions": [".jsx", "tsx"] }], + "react/jsx-props-no-spreading": 0, + "jsx-a11y/label-has-associated-control": 0, "prettier/prettier": [ "error", {