This website requires JavaScript.
Explore
Help
Sign in
saymrwulf
/
onnxruntime
Watch
1
Star
0
Fork
You've already forked onnxruntime
0
mirror of
https://github.com/saymrwulf/onnxruntime.git
synced
2026-05-17 21:10:43 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
5659d055ee
onnxruntime
/
js
/
react_native
/
babel.config.js
6 lines
92 B
JavaScript
Raw
Normal View
History
Unescape
Escape
[js] resolve CodeQL warnings for force strict mode (#8645)
2021-08-07 02:35:43 +00:00
'use strict'
;
ONNX Runtime React Native Library (#7564) * onnxruntime react native binding * add react native backend * fix lint comments * fix react native backend for ios * remove unnecessary files to check in * move onnxruntime-common to devDependency * create two podspec files for iphoneos and iphonesimulator * revise README.md and add third party notices for react native * rename a package * rename a package and revise README * add a license into package.json * revise README and comments * fix typo * fix lint errors * fix lint errors * add a prepack script. touch index.tsx and App.tsx to resolve CI issue * remove a unsupported tsx format from clang-format * fix a type and add steps tp publish a react native npm package * resolve comments * fix clang format * remove promise wrap. change prepack to typescript
2021-05-11 17:34:40 +00:00
module
.
exports
=
{
[js] change default formatter for JavaScript/TypeScript from clang-format to Prettier (#21728) ### Description See https://github.com/microsoft/onnxruntime/pull/21728/commits/454996d4960c06c73486dc8ee19826b57392d559 for manual changes (excluded auto-generated formatting changes) ### Why Because the toolsets for old clang-format is out-of-date. This reduces the development efficiency. - The NPM package `clang-format` is already in maintenance mode. not updated since 2 years ago. - The VSCode extension for clang-format is not maintained for a while, and a recent Node.js security update made it not working at all in Windows. No one in community seems interested in fixing those. Choose Prettier as it is the most popular TS/JS formatter. ### How to merge It's easy to break the build: - Be careful of any new commits on main not included in this PR. - Be careful that after this PR is merged, other PRs that already passed CI can merge. So, make sure there is no new commits before merging this one, and invalidate js PRs that already passed CI, force them to merge to latest.
2024-08-14 23:51:22 +00:00
presets
:
[
'module:metro-react-native-babel-preset'
]
,
ONNX Runtime React Native Library (#7564) * onnxruntime react native binding * add react native backend * fix lint comments * fix react native backend for ios * remove unnecessary files to check in * move onnxruntime-common to devDependency * create two podspec files for iphoneos and iphonesimulator * revise README.md and add third party notices for react native * rename a package * rename a package and revise README * add a license into package.json * revise README and comments * fix typo * fix lint errors * fix lint errors * add a prepack script. touch index.tsx and App.tsx to resolve CI issue * remove a unsupported tsx format from clang-format * fix a type and add steps tp publish a react native npm package * resolve comments * fix clang format * remove promise wrap. change prepack to typescript
2021-05-11 17:34:40 +00:00
}
;
Reference in a new issue
Copy permalink