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

Add ESLint shared settings to detect React version
pull/21833/head
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
1 changed files with 5 additions and 0 deletions

View File

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