mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Use biome instead of eslint/prettier
This commit is contained in:
+19
-19
@@ -1,20 +1,20 @@
|
||||
const path = require('path');
|
||||
const pak = require('../package.json');
|
||||
const path = require("node:path");
|
||||
const pak = require("../package.json");
|
||||
|
||||
module.exports = api => {
|
||||
api.cache(true);
|
||||
return {
|
||||
presets: ['module:@react-native/babel-preset'],
|
||||
plugins: [
|
||||
[
|
||||
'module-resolver',
|
||||
{
|
||||
extensions: ['.js', '.ts', '.json', '.jsx', '.tsx'],
|
||||
alias: {
|
||||
[pak.name]: path.join(__dirname, '../', pak.source),
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
};
|
||||
module.exports = (api) => {
|
||||
api.cache(true);
|
||||
return {
|
||||
presets: ["module:@react-native/babel-preset"],
|
||||
plugins: [
|
||||
[
|
||||
"module-resolver",
|
||||
{
|
||||
extensions: [".js", ".ts", ".json", ".jsx", ".tsx"],
|
||||
alias: {
|
||||
[pak.name]: path.join(__dirname, "../", pak.source),
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user