mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
chore: add eslint rules for react/jsx
This commit is contained in:
parent
30990f3bd7
commit
d8f4e79e20
@ -1,13 +1,11 @@
|
|||||||
{
|
{
|
||||||
"extends":["onepass"],
|
"extends":["onepass"],
|
||||||
"env": {
|
|
||||||
"browser": true,
|
|
||||||
"webextensions": true
|
|
||||||
},
|
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
"no-extend-native": 0,
|
"no-extend-native": 0,
|
||||||
"react/jsx-filename-extension": [1, { "extensions": [".jsx", "tsx"] }],
|
"react/jsx-filename-extension": [1, { "extensions": [".jsx", "tsx"] }],
|
||||||
|
"react/jsx-props-no-spreading": 0,
|
||||||
|
"jsx-a11y/label-has-associated-control": 0,
|
||||||
"prettier/prettier": [
|
"prettier/prettier": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user