Skip to content

Commit 4e0640b

Browse files
authored
Merge branch 'master' into master
2 parents 99e3669 + 02b77f5 commit 4e0640b

File tree

222 files changed

+56414
-41028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+56414
-41028
lines changed

.github/pull_request_template.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
## Description of the change
22

3-
> Description here
3+
> Please include a summary of the change and which issues are fixed.
4+
> Please also include relevant motivation and context.
5+
46
## Type of change
7+
58
- [ ] Bug fix (non-breaking change that fixes an issue)
69
- [ ] New feature (non-breaking change that adds functionality)
710
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
11+
- [ ] Maintenance
12+
- [ ] New release
813

914
## Related issues
1015

11-
> Fix [#1]()
16+
> Shortcut stories and GitHub issues (delete irrelevant)
17+
18+
- Fix [SC-]
19+
- Fix #1
20+
1221
## Checklists
1322

1423
### Development
@@ -17,9 +26,9 @@
1726
- [ ] The code changed/added as part of this pull request has been covered with tests
1827
- [ ] All tests related to the changed code pass in development
1928

20-
### Code review
29+
### Code review
2130

22-
- [ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
23-
- [ ] "Ready for review" label attached to the PR and reviewers mentioned in a comment
31+
- [ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
32+
- [ ] "Ready for review" label attached to the PR and reviewers assigned
33+
- [ ] Issue from task tracker has a link to this pull request
2434
- [ ] Changes have been reviewed by at least one other engineer
25-
- [ ] Issue from task tracker has a link to this pull request

.github/workflows/ci.yml

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,52 @@ name: Rollbar.js CI
22

33
on:
44
push:
5-
branches: [ master ]
6-
tags: [ v* ]
5+
branches: [master]
6+
tags: [v*]
77
pull_request:
8-
branches: [ master ]
8+
branches: [master]
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-16.04
12+
runs-on: ubuntu-20.04
13+
1314
strategy:
1415
matrix:
15-
node-version: [8, 10, 12, 14, 16]
16+
include:
17+
- node: 14
18+
npm: ^8
19+
- node: 16
20+
npm: ^8
21+
- node: 18
22+
npm: ^9
23+
- node: 20
24+
npm: ^10
25+
- node: latest
26+
npm: latest
1627

1728
steps:
18-
- uses: actions/checkout@v2
19-
with:
20-
submodules: recursive
29+
- name: Checkout
30+
uses: actions/checkout@v4
2131

22-
- name: Install node.js
23-
uses: actions/setup-node@v2-beta
32+
- name: Set up node ${{ matrix.node }}
33+
uses: actions/setup-node@v4
2434
with:
25-
node-version: ${{ matrix.node-version }}
35+
node-version: ${{ matrix.node }}
36+
37+
- name: Update npm
38+
run: npm install -g npm@${{ matrix.npm }}
2639

2740
- name: npm install
2841
run: npm install
2942

43+
- name: Lint
44+
uses: wearerequired/lint-action@v2
45+
with:
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
47+
prettier: true
48+
eslint: true
49+
eslint_args: '--max-warnings 0'
50+
eslint_extensions: js
51+
3052
- name: Run tests
3153
run: npm run test_ci

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.lgtm.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
path_classifiers:
2-
generated:
3-
- release
4-
- dist
5-
docs:
6-
- examples
7-
test:
8-
- test
2+
generated:
3+
- release
4+
- dist
5+
docs:
6+
- examples
7+
test:
8+
- test

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ node_modules
22
bower_components
33
.idea
44
vendor/*.min.js
5-
vendor/JSON-js/.git
65
test/*.bundle.js*
76
sauce_connect.log
87
release

.prettierignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.github
2+
.next
3+
.yalc
4+
build
5+
bundles
6+
coverage
7+
dist
8+
lib
9+
node_modules
10+
out
11+
public
12+
release
13+
vendor
14+
15+
# ignore prettifying examples for now due to
16+
# 1. there being minified snippets all over the place and
17+
# 2. some tests fail cause they depend on some sources being exactly as they are
18+
examples

.vscode/settings.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"[github-actions-workflow]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
4+
"editor.formatOnSave": true
5+
},
6+
"[javascript]": {
7+
"editor.defaultFormatter": "esbenp.prettier-vscode",
8+
"editor.formatOnSave": true
9+
},
10+
"[javascriptreact]": {
11+
"editor.defaultFormatter": "esbenp.prettier-vscode",
12+
"editor.formatOnSave": true
13+
},
14+
"[json5]": {
15+
"editor.defaultFormatter": "esbenp.prettier-vscode",
16+
"editor.formatOnSave": true
17+
},
18+
"[jsonc]": {
19+
"editor.defaultFormatter": "esbenp.prettier-vscode",
20+
"editor.formatOnSave": true
21+
},
22+
"[typescript]": {
23+
"editor.defaultFormatter": "esbenp.prettier-vscode",
24+
"editor.formatOnSave": true
25+
},
26+
"[typescriptreact]": {
27+
"editor.defaultFormatter": "esbenp.prettier-vscode",
28+
"editor.formatOnSave": true
29+
},
30+
"editor.defaultFormatter": "esbenp.prettier-vscode",
31+
"editor.formatOnSave": true,
32+
"editor.formatOnSaveMode": "file",
33+
"editor.tabSize": 2,
34+
"editor.codeActionsOnSave": {
35+
"source.fixAll.eslint": "explicit"
36+
},
37+
"files.trimTrailingWhitespace": true,
38+
"prettier.useEditorConfig": false
39+
}

0 commit comments

Comments
 (0)