Add ESLint shared settings to detect React version
This commit is contained in:
parent
9444995305
commit
237212b082
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ module.exports = {
|
|||
"@typescript-eslint/ban-ts-comment": "off",
|
||||
},
|
||||
}],
|
||||
settings: {
|
||||
react: {
|
||||
version: "detect",
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function buildRestrictedPropertiesOptions(properties, message) {
|
||||
|
|
Loading…
Reference in a new issue