@vinicunca/eslint-config 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1793,6 +1793,7 @@ function react(options = {}) {
|
|
|
1793
1793
|
singleline: "consistent"
|
|
1794
1794
|
}],
|
|
1795
1795
|
"react/jsx-newline": ERROR,
|
|
1796
|
+
"react/react-in-jsx-scope": OFF,
|
|
1796
1797
|
...overrides
|
|
1797
1798
|
}
|
|
1798
1799
|
}
|
|
@@ -2141,6 +2142,12 @@ function stylistic() {
|
|
|
2141
2142
|
"vinicunca/if-newline": ERROR,
|
|
2142
2143
|
"vinicunca/top-level-function": ERROR
|
|
2143
2144
|
}
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
files: [GLOB_JSX, GLOB_TSX],
|
|
2148
|
+
rules: {
|
|
2149
|
+
"vinicunca/consistent-list-newline": OFF
|
|
2150
|
+
}
|
|
2144
2151
|
}
|
|
2145
2152
|
];
|
|
2146
2153
|
}
|
package/dist/index.js
CHANGED
|
@@ -1701,6 +1701,7 @@ function react(options = {}) {
|
|
|
1701
1701
|
singleline: "consistent"
|
|
1702
1702
|
}],
|
|
1703
1703
|
"react/jsx-newline": ERROR,
|
|
1704
|
+
"react/react-in-jsx-scope": OFF,
|
|
1704
1705
|
...overrides
|
|
1705
1706
|
}
|
|
1706
1707
|
}
|
|
@@ -2049,6 +2050,12 @@ function stylistic() {
|
|
|
2049
2050
|
"vinicunca/if-newline": ERROR,
|
|
2050
2051
|
"vinicunca/top-level-function": ERROR
|
|
2051
2052
|
}
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
files: [GLOB_JSX, GLOB_TSX],
|
|
2056
|
+
rules: {
|
|
2057
|
+
"vinicunca/consistent-list-newline": OFF
|
|
2058
|
+
}
|
|
2052
2059
|
}
|
|
2053
2060
|
];
|
|
2054
2061
|
}
|