File tree Expand file tree Collapse file tree 10 files changed +1086
-794
lines changed Expand file tree Collapse file tree 10 files changed +1086
-794
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ root : true ,
2
3
env : {
3
4
browser : true ,
4
5
es6 : true ,
@@ -11,7 +12,6 @@ module.exports = {
11
12
extensions : [
12
13
".js" ,
13
14
".ts" ,
14
- ".tsx" ,
15
15
] ,
16
16
} ,
17
17
} ,
@@ -28,13 +28,17 @@ module.exports = {
28
28
plugins : [
29
29
'@typescript-eslint' ,
30
30
] ,
31
+ extends : [
32
+ 'plugin:@typescript-eslint/recommended' ,
33
+ ] ,
31
34
rules : {
32
35
"prefer-destructuring" : 0 ,
33
36
"no-param-reassign" : 0 ,
34
37
"import/extensions" : 0 ,
35
38
"dot-notation" : 0 ,
36
39
"no-continue" : 0 ,
37
40
"no-unused-vars" : "off" ,
38
- "@typescript-eslint/no-unused-vars" : [ "error" ]
41
+ "@typescript-eslint/no-unused-vars" : [ "error" ] ,
42
+ "no-prototype-builtins" : "warn" ,
39
43
} ,
40
44
} ;
Original file line number Diff line number Diff line change 1
1
name : 🙋♂️ Ask a question
2
2
description : Tell us what's on your mind
3
- title : " [question ]: "
3
+ title : " [Question ]: "
4
4
labels : ["triage"]
5
5
assignees :
6
6
- OneSignal/eng-developer-sdk
Original file line number Diff line number Diff line change 17
17
placeholder : The latest version of the SDK causes a runtime error.
18
18
validations :
19
19
required : true
20
+ - type : dropdown
21
+ id : browsers
22
+ attributes :
23
+ label : What browsers are you seeing the problem on?
24
+ multiple : true
25
+ options :
26
+ - Firefox
27
+ - Chrome (Chromium)
28
+ - Safari
29
+ - Microsoft Edge
30
+ - Opera
31
+ - Brave
32
+ - Other
33
+ validations :
34
+ required : true
35
+ - type : input
36
+ id : operating-system
37
+ attributes :
38
+ label : What operating system are you running?
39
+ description : Make sure to include the version.
40
+ placeholder : macOS Monterey 12.3.1
41
+ validations :
42
+ required : true
20
43
- type : textarea
21
44
id : reproduction-steps
22
45
attributes :
44
67
label : Relevant log output
45
68
description : Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
46
69
render : Shell
70
+
Original file line number Diff line number Diff line change 1
1
name : 📣 General feedback
2
2
description : Tell us what's on your mind
3
- title : " [Bug ]: "
3
+ title : " [Feedback ]: "
4
4
labels : ["triage"]
5
5
assignees :
6
6
- OneSignal/eng-developer-sdk
Original file line number Diff line number Diff line change
1
+ # This is an action to close asana tasks that were generated by Github issues
2
+
3
+ name : Zapier web hook
4
+
5
+ # Controls when the workflow will run
6
+ on :
7
+ # Triggers the workflow on push or pull request events but only for the "main" branch
8
+ issues :
9
+ types : [closed]
10
+
11
+ permissions :
12
+ issues : read
13
+
14
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15
+ jobs :
16
+ # This workflow contains a single job called "build"
17
+ build :
18
+ # The type of runner that the job will run on
19
+ runs-on : ubuntu-latest
20
+
21
+ # Steps represent a sequence of tasks that will be executed as part of the job
22
+ steps :
23
+ # Runs a set of commands using the runners shell
24
+ - name : Call Zapier web hook to close Asana task
25
+ if : ${{ !github.event.issue.pull_request }}
26
+ env :
27
+ ISSUE_TITLE : ${{ github.event.issue.title }}
28
+ run : |
29
+ curl --location --request POST 'https://hooks.zapier.com/hooks/catch/12728683/b7009qc/' \
30
+ --header 'Content-Type: application/json' \
31
+ --header 'Accept: application/json' \
32
+ --data-raw '{
33
+ "task_name" : "$ISSUE_TITLE"
34
+ }'
Original file line number Diff line number Diff line change
1
+ name : Release Drafter
2
+
3
+ on :
4
+ push :
5
+ # branches to consider in the event; optional, defaults to all
6
+ branches :
7
+ - main
8
+ # pull_request event is required only for autolabeler
9
+ pull_request :
10
+ # Only following types are handled by the action, but one can default to all as well
11
+ types : [opened, reopened, synchronize]
12
+ # pull_request_target event is required for autolabeler to support PRs from forks
13
+ # pull_request_target:
14
+ # types: [opened, reopened, synchronize]
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ jobs :
20
+ update_release_draft :
21
+ permissions :
22
+ # write permission is required to create a github release
23
+ contents : write
24
+ # write permission is required for autolabeler
25
+ # otherwise, read permission is required at least
26
+ pull-requests : write
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ # (Optional) GitHub Enterprise requires GHE_HOST variable set
30
+ # - name: Set GHE_HOST
31
+ # run: |
32
+ # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
33
+
34
+ # Drafts your next Release notes as Pull Requests are merged into "master"
35
+ - uses : release-drafter/release-drafter@v5
36
+ # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
37
+ # with:
38
+ # config-name: my-config.yml
39
+ # disable-autolabeler: true
40
+ env :
41
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments