Skip to content

Commit aac7922

Browse files
committed
🔧 Maintenance: updated package.json files
1 parent 27927ca commit aac7922

File tree

4 files changed

+3749
-36
lines changed

4 files changed

+3749
-36
lines changed

.eslintrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "airbnb",
3+
"parser": "babel-eslint",
4+
"parserOptions": {
5+
"ecmaFeatures": {
6+
"jsx": true,
7+
"classes": true
8+
}
9+
},
10+
"rules": {
11+
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }]
12+
}
13+
}

babel.config.js

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
module.exports = function(api) {
1+
module.exports = function (api) {
22
api.cache(true);
33
return {
44
presets: ["babel-preset-expo"],
55
plugins: [
66
"@babel/plugin-proposal-export-namespace-from",
77
"react-native-reanimated/plugin",
88
require.resolve("expo-router/babel"),
9-
["module:react-native-dotenv", {
10-
"envName": "APP_ENV",
11-
"moduleName": "@env",
12-
"path": ".env",
13-
"blocklist": null,
14-
"allowlist": null,
15-
"safe": false,
16-
"allowUndefined": true,
17-
"verbose": false
18-
}]
9+
[
10+
"module:react-native-dotenv",
11+
{
12+
envName: "APP_ENV",
13+
moduleName: "@env",
14+
path: ".env",
15+
blocklist: null,
16+
allowlist: null,
17+
safe: false,
18+
allowUndefined: true,
19+
verbose: false,
20+
},
21+
],
1922
],
2023
};
2124
};

0 commit comments

Comments
 (0)