Skip to content

Commit 2014a7b

Browse files
committed
run Prettier
1 parent 5a63286 commit 2014a7b

File tree

9 files changed

+49
-57
lines changed

9 files changed

+49
-57
lines changed

packages/jsi/.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ body:
3636
attributes:
3737
label: Library version
3838
description: What version of the library are you using?
39-
placeholder: "x.x.x"
39+
placeholder: 'x.x.x'
4040
validations:
4141
required: true
4242
- type: textarea
@@ -61,7 +61,7 @@ body:
6161
- type: input
6262
id: reproducible-example
6363
attributes:
64-
label: Reproducible example repository
64+
label: Reproducible example repository
6565
description: Please provide a link to a repository on GitHub with a reproducible example.
6666
validations:
6767
required: true

packages/jsi/.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
- name: Typecheck files
3232
run: yarn typecheck
3333

34-
3534
build-library:
3635
runs-on: ubuntu-latest
3736

@@ -86,7 +85,6 @@ jobs:
8685
run: |
8786
/bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
8887
89-
9088
- name: Cache Gradle
9189
if: env.turbo_cache_hit != 1
9290
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
@@ -100,7 +98,7 @@ jobs:
10098
10199
- name: Build example for Android
102100
env:
103-
JAVA_OPTS: "-XX:MaxHeapSize=6g"
101+
JAVA_OPTS: '-XX:MaxHeapSize=6g'
104102
run: |
105103
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
106104

packages/jsi/.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

packages/jsi/CODE_OF_CONDUCT.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Contributor Covenant Code of Conduct
32

43
## Our Pledge
@@ -18,23 +17,23 @@ diverse, inclusive, and healthy community.
1817
Examples of behavior that contributes to a positive environment for our
1918
community include:
2019

21-
* Demonstrating empathy and kindness toward other people
22-
* Being respectful of differing opinions, viewpoints, and experiences
23-
* Giving and gracefully accepting constructive feedback
24-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2524
and learning from the experience
26-
* Focusing on what is best not just for us as individuals, but for the overall
25+
- Focusing on what is best not just for us as individuals, but for the overall
2726
community
2827

2928
Examples of unacceptable behavior include:
3029

31-
* The use of sexualized language or imagery, and sexual attention or advances of
30+
- The use of sexualized language or imagery, and sexual attention or advances of
3231
any kind
33-
* Trolling, insulting or derogatory comments, and personal or political attacks
34-
* Public or private harassment
35-
* Publishing others' private information, such as a physical or email address,
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email address,
3635
without their explicit permission
37-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3837
professional setting
3938

4039
## Enforcement Responsibilities

packages/jsi/CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ To fix formatting errors, run the following:
7575
yarn lint --fix
7676
```
7777

78-
79-
8078
### Scripts
8179

8280
The `package.json` file contains various scripts for common tasks:

packages/jsi/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@ A JSI projection for NativeScript
44

55
## Installation
66

7-
87
```sh
98
npm install nativescript-jsi
109
```
1110

12-
1311
## Usage
1412

15-
1613
```js
1714
import { multiply } from 'nativescript-jsi';
1815

@@ -21,7 +18,6 @@ import { multiply } from 'nativescript-jsi';
2118
const result = multiply(3, 7);
2219
```
2320

24-
2521
## Contributing
2622

2723
- [Development workflow](CONTRIBUTING.md#development-workflow)
Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
{
2-
"images" : [
2+
"images": [
33
{
4-
"idiom" : "iphone",
5-
"scale" : "2x",
6-
"size" : "20x20"
4+
"idiom": "iphone",
5+
"scale": "2x",
6+
"size": "20x20"
77
},
88
{
9-
"idiom" : "iphone",
10-
"scale" : "3x",
11-
"size" : "20x20"
9+
"idiom": "iphone",
10+
"scale": "3x",
11+
"size": "20x20"
1212
},
1313
{
14-
"idiom" : "iphone",
15-
"scale" : "2x",
16-
"size" : "29x29"
14+
"idiom": "iphone",
15+
"scale": "2x",
16+
"size": "29x29"
1717
},
1818
{
19-
"idiom" : "iphone",
20-
"scale" : "3x",
21-
"size" : "29x29"
19+
"idiom": "iphone",
20+
"scale": "3x",
21+
"size": "29x29"
2222
},
2323
{
24-
"idiom" : "iphone",
25-
"scale" : "2x",
26-
"size" : "40x40"
24+
"idiom": "iphone",
25+
"scale": "2x",
26+
"size": "40x40"
2727
},
2828
{
29-
"idiom" : "iphone",
30-
"scale" : "3x",
31-
"size" : "40x40"
29+
"idiom": "iphone",
30+
"scale": "3x",
31+
"size": "40x40"
3232
},
3333
{
34-
"idiom" : "iphone",
35-
"scale" : "2x",
36-
"size" : "60x60"
34+
"idiom": "iphone",
35+
"scale": "2x",
36+
"size": "60x60"
3737
},
3838
{
39-
"idiom" : "iphone",
40-
"scale" : "3x",
41-
"size" : "60x60"
39+
"idiom": "iphone",
40+
"scale": "3x",
41+
"size": "60x60"
4242
},
4343
{
44-
"idiom" : "ios-marketing",
45-
"scale" : "1x",
46-
"size" : "1024x1024"
44+
"idiom": "ios-marketing",
45+
"scale": "1x",
46+
"size": "1024x1024"
4747
}
4848
],
49-
"info" : {
50-
"author" : "xcode",
51-
"version" : 1
49+
"info": {
50+
"author": "xcode",
51+
"version": 1
5252
}
5353
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"info" : {
3-
"version" : 1,
4-
"author" : "xcode"
2+
"info": {
3+
"version": 1,
4+
"author": "xcode"
55
}
66
}

packages/jsi/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
3737
"prepare": "bob build",
3838
"typecheck": "tsc",
39+
"format": "prettier --experimental-cli --write .",
3940
"lint": "eslint \"**/*.{js,ts,tsx}\""
4041
},
4142
"keywords": [

0 commit comments

Comments
 (0)