mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #6675 from matrix-org/gsouquet/remove-linter-warning
Add ESLint shared settings to detect React version
This commit is contained in:
commit
ee95e36a7c
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ module.exports = {
|
||||||
"@typescript-eslint/ban-ts-comment": "off",
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: "detect",
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function buildRestrictedPropertiesOptions(properties, message) {
|
function buildRestrictedPropertiesOptions(properties, message) {
|
||||||
|
|
Loading…
Reference in a new issue