Skip to content

Commit

Permalink
🎨 lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Sep 12, 2023
1 parent 0d381c0 commit 9d4177e
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
project: './tsconfig.eslint.json',
project: "./tsconfig.eslint.json",
},
env: {
node: true,
Expand Down
14 changes: 9 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@
<!-- Please specify the version of the SDK you are using. -->

## Description

<!-- Briefly describe the bug you are facing. -->

## Steps to Reproduce

1.
2.
3.
<!-- Add any other context or screenshots about the feature request here. -->
1.
2.
3. <!-- Add any other context or screenshots about the feature request here. -->

## Expected Behavior

<!-- Describe what you expected to happen. -->

## Actual Behavior

<!-- Describe what actually happened. Include any error tracebacks if possible. -->

## Possible Fix (optional)

<!-- If you have an idea on how to fix this, please share! -->

## Environment Details
Expand All @@ -28,4 +31,5 @@
- **NPM/Yarn Version**:

## Additional Context
<!-- Add any other details or context about the bug here. -->

<!-- Add any other details or context about the bug here. -->
7 changes: 6 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,25 @@ name: Feature Request
about: Propose an enhancement or new feature to improve the project
title: "Feature: <Your Feature>"
labels: feature-request, needs-review
assignees: ''
assignees: ""
---

**Problem You're Facing**

<!-- Briefly describe the problem you're trying to solve or the limitation you've encountered. -->

**Proposed Solution**

<!-- What would you like to see happen? -->

**Alternatives Considered**

<!-- Any other solutions or features you've considered. -->

## Use Cases

<!-- Help us understand the broader context by providing some typical use cases where this feature would be helpful. -->

**Additional Info**

<!-- Provide any additional details, context, or screenshots about the feature request. -->
4 changes: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ Related Issue: # (issue number)
- [ ] Any dependent changes have been merged and published

# Additional Information

<!-- Any additional information or context about the PR. -->

# Branch Naming

<!-- Make sure your branch name follows the pattern: `features/`, `fixes/`, or `releases/`. -->
<!-- **Note**: The person creating the PR is responsible for merging and deleting the branch. Ensure the code has been tested, commented, linted, and documents updated if needed. -->
<!-- **Note**: The person creating the PR is responsible for merging and deleting the branch. Ensure the code has been tested, commented, linted, and documents updated if needed. -->
2 changes: 1 addition & 1 deletion .github/workflows/mark_stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Mark Inactive Issues and PRs

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"

jobs:
stale:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout
uses: 'actions/checkout@master'
uses: "actions/checkout@master"

- name: Set Node.js
uses: actions/setup-node@v1
Expand All @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout
uses: 'actions/checkout@master'
uses: "actions/checkout@master"

- name: Set Node.js
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Unlock the full potential of **ERC4337 Account Abstraction** with methods that s

```javascript
const biconomyAccount = new BiconomySmartAccount(biconomySmartAccountConfig);
const biconomySmartAccount = await biconomyAccount.init();
const biconomySmartAccount = await biconomyAccount.init();
console.log("owner: ", biconomySmartAccount.owner);
console.log("address: ", biconomySmartAccount.address);
```
Expand Down Expand Up @@ -68,4 +68,4 @@ Community contributions are welcome! For guidelines on contributing, please read

## 📜 License

This project is licensed under the MIT License. See the [LICENSE.md](./LICENSE.md) file for details.
This project is licensed under the MIT License. See the [LICENSE.md](./LICENSE.md) file for details.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build": "lerna run build",
"clean": "lerna clean && lerna run unbuild",
"format": "lerna run format --npm-client=yarn",
"prettier": "lerna run prettier --npm-client=yarn",
"prettier": "npx prettier --write .",
"lint": "eslint -c .eslintrc.js 'packages/*/src/**/*.{ts,tsx}'",
"lint:fix": "eslint -c .eslintrc.js 'packages/*/src/**/*.{ts,tsx}' --fix",
"test": "yarn jest --runInBand",
Expand Down
18 changes: 9 additions & 9 deletions packages/particle-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
## Usage

```ts
import { ParticleNetwork, WalletEntryPosition } from '@particle-network/auth';
import { ParticleProvider } from '@particle-network/provider';
import Web3 from 'web3';
import { ParticleNetwork, WalletEntryPosition } from "@particle-network/auth";
import { ParticleProvider } from "@particle-network/provider";
import Web3 from "web3";

const particle = new ParticleNetwork({
projectId: 'xx',
clientKey: 'xx',
appId: 'xx',
chainName: 'Ethereum', //optional: current chain name, default Ethereum.
projectId: "xx",
clientKey: "xx",
appId: "xx",
chainName: "Ethereum", //optional: current chain name, default Ethereum.
chainId: 1, //optional: current chain id, default 1.
wallet: {
//optional: by default, the wallet entry is displayed in the bottom right corner of the webpage.
Expand All @@ -35,7 +35,7 @@ window.web3 = new Web3(particleProvider);
window.web3.currentProvider.isParticleNetwork; // => true

//if you use ethers.js
import { ethers } from 'ethers';
const ethersProvider = new ethers.providers.Web3Provider(particleProvider, 'any');
import { ethers } from "ethers";
const ethersProvider = new ethers.providers.Web3Provider(particleProvider, "any");
const ethersSigner = ethersProvider.getSigner();
```
2 changes: 1 addition & 1 deletion packages/web3-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Usage

```ts
import SocialLogin from '@biconomy/web3-auth';
import SocialLogin from "@biconomy/web3-auth";
// init wallet
const socialLoginSDK = new SocialLogin();
await socialLoginSDK.init();
Expand Down
9 changes: 3 additions & 6 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "./tsconfig.json",
"include": [
"packages/**/*"
]
}

"extends": "./tsconfig.json",
"include": ["packages/**/*"]
}

0 comments on commit 9d4177e

Please sign in to comment.