mirror of https://github.com/vector-im/riot-web
Merge pull request #6675 from matrix-org/gsouquet/remove-linter-warning
Add ESLint shared settings to detect React versionpull/21833/head
commit
ee95e36a7c
|
@ -63,6 +63,11 @@ module.exports = {
|
|||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
},
|
||||
}],
|
||||
settings: {
|
||||
react: {
|
||||
version: "detect",
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function buildRestrictedPropertiesOptions(properties, message) {
|
||||
|
|
Loading…
Reference in New Issue