chore: add eslint rules for react/jsx

This commit is contained in:
abhijithvijayan 2020-01-30 20:03:03 +05:30
parent 30990f3bd7
commit d8f4e79e20

View File

@ -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",
{