mirror of https://github.com/vector-im/riot-web
Add ESLint shared settings to detect React version
parent
9444995305
commit
237212b082
|
@ -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 New Issue