Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 237212b

Browse files
author
Germain Souquet
committed
Add ESLint shared settings to detect React version
1 parent 9444995 commit 237212b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ module.exports = {
6363
"@typescript-eslint/ban-ts-comment": "off",
6464
},
6565
}],
66+
settings: {
67+
react: {
68+
version: "detect",
69+
}
70+
}
6671
};
6772

6873
function buildRestrictedPropertiesOptions(properties, message) {

0 commit comments

Comments
 (0)