Skip to content

Commit

Permalink
Merge pull request #681 from gmsgowtham/biome/v1.8.3
Browse files Browse the repository at this point in the history
chore(deps): upgrade biome to v1.8.3
  • Loading branch information
gmsgowtham authored Aug 8, 2024
2 parents 2f8d9fe + d2cc121 commit 0cd6552
Show file tree
Hide file tree
Showing 16 changed files with 321 additions and 316 deletions.
2 changes: 1 addition & 1 deletion .watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
8 changes: 7 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.2.2/schema.json",
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": false
},
Expand All @@ -9,6 +9,9 @@
"recommended": true,
"correctness": {
"noRenderReturnValue": "off"
},
"suspicious": {
"noArrayIndexKey": "info"
}
}
},
Expand All @@ -17,5 +20,8 @@
},
"files": {
"ignore": ["node_modules/", "coverage/", "dist/"]
},
"javascript": {
"jsxRuntime": "reactClassic"
}
}
2 changes: 1 addition & 1 deletion dangerfile.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from "path";
import path from "node:path";
import { dangerReassure } from "reassure";

dangerReassure({
Expand Down
4 changes: 2 additions & 2 deletions examples/react-native-marked-sample/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require("path");
const path = require("node:path");
const pak = require("../../package.json");

module.exports = function (api) {
module.exports = (api) => {
api.cache(true);

return {
Expand Down
2 changes: 1 addition & 1 deletion examples/react-native-marked-sample/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const path = require("path");
const path = require("node:path");
const escapeString = require("escape-string-regexp");
const { getDefaultConfig } = require("@expo/metro-config");
const exclusionList = require("metro-config/src/defaults/exclusionList");
Expand Down
64 changes: 32 additions & 32 deletions examples/react-native-marked-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "react-native-marked-example",
"description": "Example app for react-native-marked",
"version": "0.0.1",
"private": true,
"main": "index",
"scripts": {
"android": "expo start --android",
"ios": "expo start --ios",
"start": "expo start"
},
"dependencies": {
"expo": "^46.0.0",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.9",
"react-native-svg": "12.3.0",
"react-native-web": "~0.18.7"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.19.3",
"@babel/runtime": "^7.9.6",
"@types/react": "~18.0.0",
"@types/react-native": "^0.70.4",
"babel-loader": "^8.2.5",
"babel-plugin-module-resolver": "^4.0.0",
"babel-preset-expo": "~9.2.0",
"expo-modules-autolinking": "^0.10.3",
"webpack": "^5.76.0"
}
"name": "react-native-marked-example",
"description": "Example app for react-native-marked",
"version": "0.0.1",
"private": true,
"main": "index",
"scripts": {
"android": "expo start --android",
"ios": "expo start --ios",
"start": "expo start"
},
"dependencies": {
"expo": "^46.0.0",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.9",
"react-native-svg": "12.3.0",
"react-native-web": "~0.18.7"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.19.3",
"@babel/runtime": "^7.9.6",
"@types/react": "~18.0.0",
"@types/react-native": "^0.70.4",
"babel-loader": "^8.2.5",
"babel-plugin-module-resolver": "^4.0.0",
"babel-preset-expo": "~9.2.0",
"expo-modules-autolinking": "^0.10.3",
"webpack": "^5.76.0"
}
}
10 changes: 5 additions & 5 deletions examples/react-native-marked-sample/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
// Avoid expo-cli auto-generating a tsconfig
},
"exclude": []
"extends": "../../tsconfig",
"compilerOptions": {
// Avoid expo-cli auto-generating a tsconfig
},
"exclude": []
}
4 changes: 2 additions & 2 deletions examples/react-native-marked-sample/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const path = require("path");
const path = require("node:path");
const createExpoWebpackConfigAsync = require("@expo/webpack-config");
const { resolver } = require("./metro.config");

const root = path.resolve(__dirname, "../..");
const node_modules = path.join(__dirname, "node_modules");

module.exports = async function (env, argv) {
module.exports = async (env, argv) => {
const config = await createExpoWebpackConfigAsync(env, argv);

config.module.rules.push({
Expand Down
Loading

0 comments on commit 0cd6552

Please sign in to comment.