Add ESLint shared settings to detect React version

This commit is contained in:
Germain Souquet 2021-08-25 09:36:35 +01:00
parent 9444995305
commit 237212b082

View file

@ -63,6 +63,11 @@ module.exports = {
"@typescript-eslint/ban-ts-comment": "off",
},
}],
settings: {
react: {
version: "detect",
}
}
};
function buildRestrictedPropertiesOptions(properties, message) {