@ncontiero/eslint-config 7.3.0-beta.3 → 7.3.0-beta.4
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.mjs +2 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1011,6 +1011,7 @@ async function react(options = {}) {
|
|
|
1011
1011
|
"react/no-missing-component-display-name": "warn",
|
|
1012
1012
|
"react/no-unstable-context-value": "warn",
|
|
1013
1013
|
"react/no-unstable-default-props": "warn",
|
|
1014
|
+
"react/no-unused-props": "warn",
|
|
1014
1015
|
"react/refs": "warn",
|
|
1015
1016
|
...overrides
|
|
1016
1017
|
}
|
|
@@ -1366,6 +1367,7 @@ async function typescript(options = {}) {
|
|
|
1366
1367
|
languageOptions: {
|
|
1367
1368
|
parser: parserTs,
|
|
1368
1369
|
parserOptions: {
|
|
1370
|
+
projectService: { allowDefaultProject: ["./*.js"] },
|
|
1369
1371
|
sourceType: "module",
|
|
1370
1372
|
...parserOptions
|
|
1371
1373
|
}
|