humanmade / humanmade/wp-stripe

Format js test via js linter

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
47
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hello, I thought I would pass this issue on as I use some code from this build in another project. Keep up the good work.

Error: ['id'] is better written in a dot notation.

var token = response['id'];

https://github.com/humanmade/wp-stripe/blob/master/js/wp-stripe.js#L32

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at js/wp-stripe.js line 32 and review the linter error for response['id']. Update that expression to satisfy the linter, then run the JavaScript linter and confirm the warning is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.