Merge pull request #6675 from matrix-org/gsouquet/remove-linter-warning

Add ESLint shared settings to detect React version
This commit is contained in:
Germain 2021-08-25 20:53:35 +01:00 committed by GitHub
commit ee95e36a7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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