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
+3 -1
View File
@@ -1,3 +1,5 @@
const reactCompilerConfig = require('./react-compiler.config.js')
module.exports = function (api) {
api.cache(true)
const isTestEnv = process.env.NODE_ENV === 'test'
@@ -17,7 +19,7 @@ module.exports = function (api) {
],
plugins: [
'macros',
['babel-plugin-react-compiler', {target: '18'}],
['babel-plugin-react-compiler', reactCompilerConfig],
[
'module:react-native-dotenv',
{