1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

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) {