Fix React Rules violations, enable strict lint

This commit is contained in:
Dan Abramov
2024-11-17 20:40:51 +00:00
parent c2ee0ee910
commit 6e4646e1a9
19 changed files with 141 additions and 128 deletions
+9
View File
@@ -0,0 +1,9 @@
'use strict'
module.exports = {
target: '18',
environment: {
enableTreatRefLikeIdentifiersAsRefs: true,
validateRefAccessDuringRender: false, // TODO: Make it `true`.
},
}